Components
Components
Drop-in, stateful widgets — spinners, tables, trees, inputs and more. Each is a TeaModel you embed in your own update/view loop.
18 entries

Spinner
Animated indeterminate activity indicator.

Progress bar
Determinate 0.0–1.0 progress with a filled/empty bar.

Text input
Single-line input with cursor, validation and suggestions.

Text area
Multi-line editor with scroll and word movement.

Select list
Vertical single-choice list with a keyboard cursor.
newList (fuzzy filter)
Full list with incremental fuzzy filtering and descriptions.

Tabs
Tabbed interface with styled labels and a content area.

Table
Scrollable data table with per-cell styling.

Tree
Hierarchical, expandable list with box-drawing connectors.
newMulti-select
Scrollable checkbox list with select-all.

Cursor
In-line blinking cursor for custom editors.

Viewport
Scrollable content pane with soft-wrap.

Timer
Countdown timer with start/stop/reset.

Stopwatch
Elapsed-time stopwatch with start/stop/reset.

Paginator
Compact page indicator (dots or numeric).

Help
Compact / full keybinding reference from a KeyMap.

File picker
Async directory browser with extension filtering.

Spring
Harmonica-style damped-spring easing for any scalar.