Phaser PixUI
Phaser PixUI
An open-source UI library for the Phaser game engine that provides responsive and customizable UI components, tailored specifically for pixel art games.
GitHub: https://github.com/skhoroshavin/phaser-pixui
Features
- Responsive UI components that adapt to different screen sizes
- Ensures integer scaling to keep pixel art crisp
- Customizable themes and styling
- Support for buttons, progress bars, text areas, and more
- Built-in positioning helpers for common screen locations
- Written in TypeScript with full type definitions
Installation
npm install phaser-pixui
Since this library requires Phaser 4 as a peer dependency, make sure you have it installed in your project as well:
npm install phaser@^4.0.0-rc.6
For a usage example, see the example project, or play with demo on this page.
Code license
Copyright (c) 2026 Sergei Khoroshavin
The source code in this repository is licensed under the MIT License. See the file LICENSE for the full license text.
Example art assets
The example project included in this repository uses pixel art assets created by Gabriel Lima aka tiopalada. Big thanks to him for creating beautiful pixel art and putting it into the public domain. Asset pages (Mana Soul GUI,Tiny RPG Font Kit II and demo version of Tiny RPG Battle Kit I, the latter was the source of the backgound image) state these assets are CC0 and may be used for any purpose; attribution to the author is appreciated.
| Published | 1 day ago |
| Status | In development |
| Category | Tool |
| Platforms | HTML5 |
| Author | skhoroshavin |
| Tags | Graphical User Interface (GUI), javascript, npm, phaser, phaser4, Pixel Art |
| Code license | MIT License |
| Asset license | Creative Commons Zero v1.0 Universal |
| Links | GitHub |

Leave a comment
Log in with itch.io to leave a comment.