Skip to main content

Module components

Module components 

Source
Expand description

Built-in layout, text, navigation, data, and input components.

Structs§

Attachment
One staged composer attachment.
Attachments
Shared handle to the attachments staged on an EditorPane composer.
Boxed
A bordered child stack backing the <box> markup tag.
Button
A pressable action button.
Callout
A highlighted Markdown notice backing the <callout> markup tag.
Col
A vertical child stack backing the <col> markup tag.
CustomElement
A late-bound component backing a registry-defined markup tag.
EditInput
Focusable editable leaf used by EditorPane.
EditorPane
Editor shell with replaceable editable content, status chrome, and an attachment preview band.
Field
Declarative input metadata backing the <field> markup tag.
Form
An interactive collection of fields backing the <form> markup tag.
Hr
A horizontal or vertical divider backing the <hr> markup tag.
Icon
A theme-resolved glyph backing the <icon> markup tag.
Img
A terminal-rendered image backing the <img> markup tag.
Input
An editable, single-line text field.
Latex
Typeset mathematical text backing the <latex> markup tag.
Markdown
Rendered Markdown content backing the <markdown> markup tag.
Pre
Preformatted text backing the <pre> markup tag.
Progress
A determinate progress bar backing the <progress> markup tag.
Radio
A compact single-choice row of chips backing the <radio> markup tag.
Row
A horizontal child stack backing the <row> markup tag.
Scene
A live 3D viewport that rasterizes a Trace scene into braille cells.
Scroll
A vertically scrollable child stack backing the <scroll> markup tag.
Segment
Declarative segment data backing the <segment> markup tag.
Select
A filterable choice list backing the <select> markup tag.
SelectOption
Declarative option data backing the <option> markup tag.
Shader
A live effect viewport that renders a Program into half-block cells.
Spacer
Flexible blank space backing the <spacer> markup tag.
Spinner
An animated one-cell spinner with an optional trailing label.
Status
A one-line powerline-style status group backing the <status> markup tag.
Table
A columnar layout backing the <table> markup tag.
TableCell
An inline-flow grid cell backing the <td> markup tag.
TableRow
One <tr> under construction: row props (a bg= highlight band) plus its cells in column order.
Tabs
A switchable pane set backing the <tabs> markup tag.
TextLeaf
Wrapped or truncated text backing the <text> markup tag.
Todo
A static todo list backing the <todo> markup tag.
TodoTask
One row of a Todo list, backing the <task> markup tag.
Tree
An expandable hierarchy backing the <tree> markup tag.
TreeNode
A labeled branch or leaf backing the <node> markup tag.
Wizard
A validated sequence of step panes backing the <wizard> markup tag.

Enums§

AttachmentContent
Content behind one Attachment.
TaskStatus
Lifecycle state of a TodoTask, mirroring the coding agent’s todo tracker: open work, the one active item, and the three closed shapes.

Functions§

attachment_color
Identity color for attachment marker N (1-based).
chip_label
The composer chip text for one attachment: <icon> #N with the tier’s image or text-file glyph.