Fire your layouts into native UI.
Kiln is a native UI component library for C3: polished widgets, spring motion and full keyboard support, on SDL3, raylib and the browser.
Open the gallery Try the dashboard Get started
Both demos run in your browser: Kiln compiled to WebAssembly, about half a megabyte to download.

A UI library for C3
Kiln is immediate mode: you describe the whole interface every frame, widgets return what happened, and your own variables hold the state. Clay lays it out; Kiln draws it with SDL3 for apps, raylib for games, and WebGL in the browser.
- Finished without styling: neutral surfaces, one accent, light and dark themes that follow the OS.
- Spring motion that you can interrupt, with a reduced-motion path.
- Every action works from the keyboard, and touch is supported.
- Idle apps use no CPU.
- Plain C3: components are functions, and your variables are the state.
A taste of the API
import kiln;
int clicks;
bool notifications;
fn void frame(Ui* ui, void* user)
{
ui.@column(pad: 8, gap: 4)
{
ui.heading("Hello", 2);
ui.toggle("Notifications", ¬ifications);
ui.@row(gap: 2)
{
if (ui.button("Click me", variant: PRIMARY)) clicks++;
ui.textf("Clicked %d times", clicks);
};
};
}
fn void main()
{
app::run("Hello", 420, 300, &frame);
}
Two styles
If the UI is the app, use App style. If the UI sits on top of something else, use Game style. Both run on the same core, so widgets behave the same.
- App style:
app::runowns the loop and sleeps when idle, on SDL3. For music players, dashboards, utilities and editors. - Game style: your raylib loop, with Kiln drawn on top. For games, HUDs, in-game menus and engine tools.
Status
Kiln is early. What is built and what comes next is in the roadmap.