slikui#
A sleek, header-only C++20 UI library for graphics applications - retained-mode widget tree, declarative builder API, one narrow rendering contract that runs on raw pixels or any graphics API. No build step, no dependencies. Python bindings are first-class citizens with the same widget surface.

What you get#
- Header-only -
slikui.hpp(multi-header) ordist/slikui.hpp(amalgamated single file). No linking, no code generation. - Backends - a CPU rasterizer over raw
uint32_tpixels (headless, embedded, blit into any engine) and a GL 3.3 core renderer on system headers. Anything else (Vulkan, Metal, SDL_Renderer) implements one interface: Render backends. - Widget set - 50+ widgets: controls, inputs, editors, plots, trees, tables, property grids, menus, toolbars with procedural icons, dialogs, toasts, image views. Widget index.
- Theming - palette-driven styling, 8 built-in presets, HiDPI scale. Theming.
- Text - vendored stb_truetype: glyph atlas, kerning, word wrapping, optional bundled DejaVu subset. Text & fonts.
- Testable - one event vocabulary, real captured screenshots
(
tools/components_capture.cpp), golden-image pixel checks in CI.
Start here#
- Getting started - C++
- Getting started - Python
- Core concepts - the frame loop
- Callbacks - responding to clicks, edits and selections, and what every callback receives
- Widget index
Site contents are also available machine-readable at llms.txt and llms-full.txt - the whole site as plain markdown for agents and offline consumption.