ratatui-labs
Experimental Ratatui labs-style APIs and prototype Ratatui work.
This crate is a Ratatui namespace reservation that can host small experiments before they are ready to move into focused crates or the main Ratatui repository. APIs in this crate are experimental and may change or disappear.
ratatui-labs is not intended to become a broad implementation crate. When an
experiment grows a clear concept boundary, prefer a focused crate with its own
crate-level documentation, examples, and validation. This crate can then provide
a short compatibility namespace for the experiment while the API is evaluated.
Command Palette Experiment
The command palette experiment now lives in two concept-owned crates:
ratatui-actionfor semantic action identity, metadata, availability, inputs, and invocations.ratatui-command-palettefor palette state, filtering, selection, and event emission.
The palette does not own application state or execute application callbacks. It consumes action metadata and emits invocation, preview, and lifecycle events that the application handles.
use ;
let actions = vec!;
let mut palette = new;
palette.open;
if let Some = palette.accept
Run the first interactive example with:
Rendered validation for this example is captured by the repository Betamax tape:
The crate points at the main Ratatui project rather than a separate implementation repository:
Documentation for this reservation crate is published at:
Related Crates And Overlap
This reservation may overlap with:
ratatui-unstable,ratatui-experimental, and future unstable API policy.- the experimental
ratatui-actionandratatui-command-palettecrates in this workspace.
Any future implementation should coordinate with those crates or clearly explain the difference before publishing a non-reservation release.