Components
Ready-to-use components built on the core framework
Styled components with sensible defaults. Each component handles focus, keybindings, and rendering automatically.
For components where rendering genuinely varies, a render prop gives full control over the visual output. The terminal's styling surface area is small enough that props cover the vast majority of customization needs.
Components
| Component | Description |
|---|---|
| TextInput | Single-line text input with cursor navigation |
| Select | Single-select list with keyboard navigation |
| MultiSelect | Multi-select list with checkboxes |
| Confirm | Yes/no confirmation prompt |
| Autocomplete | Filterable select with text input |
| Badge | Styled inline label with powerline glyphs |
| CodeBlock | Syntax-highlighted code block |
| Panel | Titled box with inline border header |
| Markdown | Terminal markdown renderer |
| VirtualList | Windowed list rendering for large datasets |
| Viewport | Scrollable content container |
| Paginator | Scroll position indicator |
| Modal | Focus-trapping container with border and title |
| Command Palette | Fuzzy-searchable list of all registered commands |