CombustUI – GUI Bindings for Mojo

CombustUI (WIP) is a GUI library for Mojo, built on top of FLTK (Fast Light Toolkit) from C++. It provides low-level control by directly calling FLTK functions. Currently, CombustUI is in its early stages, offering basic event handling and essential widgets such as inputbox, button, window, and grid. More widgets will be added soon, and documentation will follow as the library evolves.
GitHub Repository

Crude example:

This is cool Hammad!

Agree. Building GUI’s for Mojo and MAX has been something I have been thinking about. Awesome work :fire:

Just added an app creation script create_new_app.sh which can be installed using the following command:

curl https://raw.githubusercontent.com/Hammad-hab/CombustUI/refs/heads/main/create_new_app.sh -o ignite_app.sh && chmod +x ignite_app.sh && sudo mv ./ignite_app.sh /usr/local/bin/ignite_app```

Created a website for CombustUI: CombustUI - Modern Mojo UI Library. Docs comming soon

Finally added a crude documentation:

Additionally, I’ve implemented a flexbox layout for CombustUI along with a better event handler (still crude though).

Screen Recording 2025-06-23 at 8.14.07 PM.mov [video-to-gif output image]
Added GIF Animations along with new widgets like MultiLineInput, Images, placeholders, more control over flex layouts. :raising_hands:

Full API Reference, Installation and examples have been released now: