Elements API
Elements are the building blocks produced by template tags. This reference groups them by role—base classes, input widgets, display widgets, menus, and modals.
Base classes
Base class for all UI elements. |
|
Type of UI element. |
|
Abstract base class for elements that support scrolling. |
|
Base class for overlay content elements. |
|
Simple text display element. |
Input widgets
Button element. |
|
Checkbox element for boolean selections. |
|
Group of checkboxes for multiple selections. |
|
Radio button element for mutually exclusive selections. |
|
Group of radio buttons for single selection. |
|
Select list element for choosing from a scrollable list of options. |
|
Slider input element for numeric value selection. |
|
Toggle switch element for boolean values. |
|
Text input field element. |
|
Multiline text area element with scrolling support. |
|
Visual style for text input rendering. |
|
Text editor with syntax highlighting support. |
|
Manages syntax highlighting tokenization and caching. |
|
Spreadsheet-like data entry grid with entry line editing. |
Display widgets
Table element for displaying tabular data with sorting. |
|
ListView element for displaying lists with bullets, numbers, or details. |
|
Tree element for displaying hierarchical data with expand/collapse. |
|
LogView element for displaying logs with automatic coloring and scrolling. |
|
Progress bar element for displaying progress of operations. |
|
Spinner element for displaying indefinite loading animation. |
|
Status bar element for fixed bottom display. |
|
Status indicator element displaying colored dot with label. |
|
Unified content display element supporting multiple content types. |
|
Notification element for temporary messages. |
|
Inline clickable text element. |
|
Tabbed panel element for displaying multiple frames with tab switching. |
|
Pager element for linear pagination through multiple pages. |
|
Represents a single page in the Pager. |
|
Element for displaying images in the terminal. |
Data Visualization
Sparkline element for compact inline trend visualization. |
|
BarChart element for horizontal bar visualization. |
|
ColumnChart element for vertical column visualization. |
|
LineChart element for line and area chart visualization. |
|
Gauge element for value indicator visualization. |
|
HeatMap element for grid-based color intensity visualization. |
|
A canvas for drawing using braille characters. |
Supporting types
Content type enumeration for ContentView rendering. |
|
Severity levels for notifications. |
|
Position of tabs relative to content area. |
|
Visual styles for tree expand/collapse indicators. |