Repository navigation
v0.1.0
The first release of RTXUI: a C++23 terminal UI library that runs a
browser-style pipeline. Write the interface in HTML, style it with CSS, bind
it to plain C++ members, and the screen follows when they change.
What it does
- Layout: flexbox, grid (
minmax(),repeat(auto-fill), named lines and
areas), positioning withsticky, scroll containers,@mediaqueries,
calc()and custom properties, tables withcolspan/rowspan. - Motion: transitions on colors, sizes, opacity and
translate, and
@keyframesanimations. - Interaction: mouse hover, click, drag and wheel; Tab order and arrow-key
spatial navigation; text selection and copy; OSC 8 hyperlinks. - Built-in elements:
<input>,<textarea>,<select>,<checkbox>,
<radio>,<slider>,<progress>,<tabs>,<details>,<dialog>,
<toast>,<tooltip>,<markdown>, and virtual lists of any length. - C++:
Bind()members, methods and collections;<if>,<for>, slots
and props for your own components;PostTask()from timers and threads;
optional C++26 reflection for struct fields. - Development: hot reload of templates and styles, diagnostics with line
and column,RTXUI_STRICT=1to abort on any of them, and headless rendering
for tests.
Where it runs
Linux (GCC 14+, Clang 18+), macOS (AppleClang), Windows (MSVC, clang-cl,
MinGW-w64) and the browser (Emscripten). It needs C++23 and depends on nothing
beyond the standard library.
Getting it
include(FetchContent)
FetchContent_Declare(rtxui
GIT_REPOSITORY https://github.com/ArthurSonzogni/RTXUI.git
GIT_TAG v0.1.0)
FetchContent_MakeAvailable(rtxui)
target_link_libraries(my_app PRIVATE rtxui)find_package(rtxui) and pkg-config rtxui work after cmake --install, and
the repository is a Bazel module (@rtxui). Attached: the source tarball,
prebuilt Linux x64 and macOS universal packages, and their SHA256SUMS.
Compatibility
This is a 0.x release: 0.2 may change the API and the ABI, and its notes will
say what to write instead. Patch releases keep both. See
Compatibility.
Documentation and 66 live examples:
https://arthursonzogni.github.io/RTXUI/