Hi everyone,
I’d like to share PhaserJSX, a UI library I’ve been building for Phaser:
The goal is to make Phaser UI code more declarative and component-based, especially for menus, HUDs, dialogs, overlays, forms, and other in-game UI.
Instead of building UI mainly through imperative scene code, PhaserJSX lets you describe UI with JSX-style components, hooks, layout primitives, and theming.
Main features
- JSX-based UI components for Phaser
- React-like hooks
- Flexbox-style layout
- Theme system
- TypeScript-friendly API
- Designed for Phaser 4
I’m sharing it here because I’d like to get feedback from Phaser developers and make the project more visible to people who are currently building complex UI in Phaser.
I’d especially be interested in feedback on:
- whether the API feels natural for Phaser users
- missing UI components or layout features
- examples or demos that would make adoption easier
- potential edge cases in real Phaser projects
Feedback, criticism, and ideas are very welcome.