TUITUI Components
DocsTUI Components

TUI Components

Terminal UI components from connectonion.tui

Architecture

# data flow
User Input → TUI Component → Terminal (Rich) → User
     ↑                              ↓
     └──── Keyboard Events ────────┘

Components use Rich for terminal rendering, raw mode for keyboard capture, and ANSI codes for styling.

Quick Reference

ComponentPurpose
ChatFull chat interface with agent
InputText input with autocomplete
pickSingle-select menu
DropdownDropdown menus
StatusBarPowerline-style status
FooterFooter with help text
DividerVisual dividers
fuzzyFuzzy matching
keysKeyboard input
providersAutocomplete data sources

Star us on GitHub

If ConnectOnion saves you time, a ⭐ goes a long way — and earns you a coffee chat with our founder.