HammadHAB
(Hammad Ali)
February 15, 2025, 6:14am
1
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:
10 Likes
rcmpge
(Robert)
February 16, 2025, 1:13am
3
Agree. Building GUI’s for Mojo and MAX has been something I have been thinking about. Awesome work
1 Like
HammadHAB
(Hammad Ali)
February 18, 2025, 4:04am
4
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```
1 Like
HammadHAB
(Hammad Ali)
March 10, 2025, 11:58pm
5
Created a website for CombustUI: CombustUI - Modern Mojo UI Library . Docs comming soon
3 Likes
HammadHAB
(Hammad Ali)
May 5, 2025, 11:41am
6
Finally added a crude documentation:
# MJUI Toolkit Documentation
MJUI is a Mojo-based UI toolkit that provides bindings to FLTK (Fast Light Toolkit) and offers a simple, efficient way to create graphical user interfaces in Mojo.
## Table of Contents
- [Installation](#installation)
- [Core Components](#core-components)
- [Event System](#event-system)
- [Constants](#constants)
- [Utility Functions](#utility-functions)
- [Types](#types)
- [FLTK Bindings](#fltk-bindings)
## Installation
To use MJUI in your project, ensure you have the following directory structure:
```
mjui/
├── __init__.mojo
├── _app.mojo
This file has been truncated. show original
Additionally, I’ve implemented a flexbox layout for CombustUI along with a better event handler (still crude though).
1 Like
HammadHAB
(Hammad Ali)
June 23, 2025, 3:21pm
7
Added GIF Animations along with new widgets like MultiLineInput, Images, placeholders, more control over flex layouts.
2 Likes