Back to list

CUI

Native UI components for C: about 210 of them, no dependencies, and a whole app in about 250 KB.

Stefan Monroe
Author
@Stefan Monroe
Project ShowcaseDeveloper ToolsOnlineclaude-codecodex
0
0

Project intro

CUI is an immediate-mode UI library written in C99. You describe the screen with function calls every frame, and CUI lays it out, handles the mouse and keyboard, and draws it with OpenGL or its own software renderer — in a window on Windows, macOS or Linux, or in a browser through WebAssembly.

It packs about 210 components, from buttons and text fields to a data grid, charts, a code editor, kanban boards, gantt charts and docking panels, plus chat and agent-plan pieces for AI apps. Everything comes with light and dark themes, eight accents and spring animation, and every component has a live example on the site you can try before you commit.

Getting started is small on purpose: one CMake target, or two files — cui.h and cui.c — dropped into your project, and the tutorial builds a to-do app in about 130 lines. A hello app is about 250 KB with no browser or runtime inside, and every push runs 19 CI jobs including a fuzzer that drives the gallery and example apps with random input.

It has 1,154 stars on GitHub with 78 forks, was created on 5 November 2026 and was last pushed on 18 November 2026. It is at version 1.4.0 and MIT licensed. Three honest limits: there is no screen reader support yet, no native Wayland backend, and no Android or iOS — and version 1.0 only landed in November 2026, so real-world use is still thin.

Actions

Visit project URL

Tech stack

c

Project info

Project category
Developer Tools
Project status
Online
Collaboration intent
None

Comments (0)

ME
0/1000
Loading comments...