Components
67 components in 9 groups. Each page shows every state in light and dark, the terminal rendering, the code, and the API.
Controls

ButtonA push button.Save changes
Save changes

Icon buttonA button that shows one glyph: text or an××Icon.
CheckboxA checkbox.[x] Enabled[x] Enabled
ToggleAn on/off switch.[ ■] Locked[ ■] Locked
Radio groupA set of radio options;● Automatic ○ Manual
● Automatic ○ Manual
.label()and.labelled_by()name the group.
SliderA value slider.●
●
Fields

Text fieldA single-line text input.╭──────────────────────────────────────╮ │ Ada Lovelace │ ╰──────────────────────────────────────╯
╭──────────────────────────────────────╮ │ Ada Lovelace │ ╰──────────────────────────────────────╯

Text editA multi-line text editor.Multi-line editable text.
Multi-line editable text.

Number fieldA numeric input.╭────────────────────────────╮ │ 4 │ ╰────────────────────────────╯
╭────────────────────────────╮ │ 4 │ ╰────────────────────────────╯

Date fieldA date input.╭─────────────────────────────────╮ │ 2026-04-01 │ ╰─────────────────────────────────╯
╭─────────────────────────────────╮ │ 2026-04-01 │ ╰─────────────────────────────────╯

Color fieldA color input.╭──────────────────────────────╮ │ #5a8cff │ ╰──────────────────────────────╯
╭──────────────────────────────╮ │ #5a8cff │ ╰──────────────────────────────╯

ComboboxA text input with a filtered list.╭──────────────────────────────────────╮ │ │ │ Language │ ╰──────────────────────────────────────╯ ╭──────────────────────────────────────╮ │ │ │ Rust │ │ Go │ │ Zig │ │ C++ │ │ │ ╰──────────────────────────────────────╯
╭──────────────────────────────────────╮ │ │ │ Language │ ╰──────────────────────────────────────╯ ╭──────────────────────────────────────╮ │ │ │ Rust │ │ Go │ │ Zig │ │ C++ │ │ │ ╰──────────────────────────────────────╯

DropdownA select box.╭──────────────────────────────────────╮ │ Medium │ ╰────────────────────────────────────▾─╯ ╭──────────────────────────────────────╮ │ │ │ Small │ │ Medium 🬹 │ │ Large │ │ │ ╰──────────────────────────────────────╯
╭──────────────────────────────────────╮ │ Medium │ ╰────────────────────────────────────▾─╯ ╭──────────────────────────────────────╮ │ │ │ Small │ │ Medium 🬹 │ │ Large │ │ │ ╰──────────────────────────────────────╯

FieldA label above a control.Name ╭──────────────────────────────────────╮ │ Full name │ ╰──────────────────────────────────────╯
Name ╭──────────────────────────────────────╮ │ Full name │ ╰──────────────────────────────────────╯

Validated fieldA label above a control.Email ╭──────────────────────────────────────╮ │ ada@ │ ╰──────────────────────────────────────╯
Email ╭──────────────────────────────────────╮ │ ada@ │ ╰──────────────────────────────────────╯
Overlays

ModalA modal dialog.Page behind the modal ╭──────────────────────────────────────────────────────────╮ │ Confirm action × │ │ │ │ This modal is mounted at the root. │ │ │ │ │Cancel│ Confirm │ ╰──────────────────────────────────────────────────────────╯
Page behind the modal ╭──────────────────────────────────────────────────────────╮ │ Confirm action × │ │ │ │ This modal is mounted at the root. │ │ │ │ │Cancel│ Confirm │ ╰──────────────────────────────────────────────────────────╯

SheetA panel that slides in from a side.Page behind the╭───────────────────────────────────────────╮ │ Details × │ │ │ │ A right-edge sheet. │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╰───────────────────────────────────────────╯
Page behind the╭───────────────────────────────────────────╮ │ Details × │ │ │ │ A right-edge sheet. │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╰───────────────────────────────────────────╯

MenuA popup menu.╭──────────────────────╮ │ │ │ Undo Ctrl+Z │ │ Redo │ │ │ │ ────────────────── │ │ Share ▸ │ │ │ ╰──────────────────────╯╭──────────────────────╮ │ │ │ Undo Ctrl+Z │ │ Redo │ │ │ │ ────────────────── │ │ Share ▸ │ │ │ ╰──────────────────────╯
Menu barAn in-window menu bar, as wide as its menus.File ────────────────────────────────────────
File ────────────────────────────────────────

Command menuA command palette.╭──────────────────────╮ │ │ │ ╭──────────────────╮ │ │ │ │ │ │ ╰──────────────────╯ │ │ Refresh │ │ Open settings │ │ Publish │ │ Export ▸ │ ╰──────────────────────╯
╭──────────────────────╮ │ │ │ ╭──────────────────╮ │ │ │ │ │ │ ╰──────────────────╯ │ │ Refresh │ │ Open settings │ │ Publish │ │ Export ▸ │ ╰──────────────────────╯

TooltipA hover tooltip.Hover me ╭────────────────────╮ │ │ │ Saves the document │ │ │ ╰────────────────────╯Hover me ╭────────────────────╮ │ │ │ Saves the document │ │ │ ╰────────────────────╯
ToastOne transient message.╭─────────────────╮ │ │ │ │ │ Changes saved │ │ │ │ │ ╰─────────────────╯╭─────────────────╮ │ │ │ │ │ Changes saved │ │ │ │ │ ╰─────────────────╯
Toast queueA stack of transient messages.│ │ │ │ │ ● Saved │ │ │ │ │ ╰───────────╯ ╭───────────────────╮ │ │ │ │ │ ● Upload failed │ │ │ │ │ ╰───────────────────╯
│ │ │ │ │ ● Saved │ │ │ │ │ ╰───────────╯ ╭───────────────────╮ │ │ │ │ │ ● Upload failed │ │ │ │ │ ╰───────────────────╯

Hint overlayAn overlay that lists key bindings.╭──────────────────╮ │ │ │ │ │ Ctrl+K Palette │ │ │ │ Esc Close │ │ │ │ │ ╰──────────────────╯
╭──────────────────╮ │ │ │ │ │ Ctrl+K Palette │ │ │ │ Esc Close │ │ │ │ │ ╰──────────────────╯
Chrome

App shellTop bar, work area, status bar, and modal slot.Top bar ──────────────────────────────────────────────────────────────────────────────── Work area ──────────────────────────────────────────────────────────────────────────────── Status
Top bar ──────────────────────────────────────────────────────────────────────────────── Work area ──────────────────────────────────────────────────────────────────────────────── Status

PanelA titled panel.╭──────────────────────────────────────╮ │ │ │ │ │ Panel │ │ │ │ Panel body │ │ │ │ │ ╰──────────────────────────────────────╯
╭──────────────────────────────────────╮ │ │ │ │ │ Panel │ │ │ │ Panel body │ │ │ │ │ ╰──────────────────────────────────────╯

CardA bordered card.╭──────────────────────────────────────╮ │ │ │ │ │ Host wgpu │ │ ────────────────────────────────── │ │ Backend metal │ │ │ │ │ ╰──────────────────────────────────────╯
╭──────────────────────────────────────╮ │ │ │ │ │ Host wgpu │ │ ────────────────────────────────── │ │ Backend metal │ │ │ │ │ ╰──────────────────────────────────────╯

SidebarA side column.│ │ Widgets │ Controls │ Inputs │ │ │ │ │ │ │ │ │ │ │ │ │ │
│ │ Widgets │ Controls │ Inputs │ │ │ │ │ │ │ │ │ │ │ │ │ │

TabsTabs.[First] Second Third First tab pane
[First] Second Third First tab pane

SplitterResizable panes.╭─────────────────────╮│╭───────────────────────────────╮ │ │││ │ │ │││ │ │ Navigation │││ Content │ │ │││ │ │ │││ │ ╰─────────────────────╯│╰───────────────────────────────╯ │ │ │ │ │ │ │ │ │ │ │
╭─────────────────────╮│╭───────────────────────────────╮ │ │││ │ │ │││ │ │ Navigation │││ Content │ │ │││ │ │ │││ │ ╰─────────────────────╯│╰───────────────────────────────╯ │ │ │ │ │ │ │ │ │ │ │

ScrollA scroll area.Scrolled line 1 Scrolled line 2 Scrolled line 3 Scrolled line 4 Scrolled line 5 Scrolled line 6 Scrolled line 7 Scrolled line 8 Scrolled line 9 Scrolled line 10 Scrolled line 11 Scrolled line 12
Scrolled line 1 Scrolled line 2 Scrolled line 3 Scrolled line 4 Scrolled line 5 Scrolled line 6 Scrolled line 7 Scrolled line 8 Scrolled line 9 Scrolled line 10 Scrolled line 11 Scrolled line 12

SurfaceA rectangle that the embed host draws.
Status barA status line.──────────────────────────────────────────────────── main Ln 4, Col 12 UTF-8
──────────────────────────────────────────────────── main Ln 4, Col 12 UTF-8
Data

Virtual listA list that builds only the visible rows.Item 1 0 Item 2 1 Item 3 2 Item 4 3 Item 5 4 Item 6 5 Item 7 6 Item 8 7 Item 9 8 Item 10 9 Item 11 10 Item 12 11 Item 13 12 Item 14 13 Item 15 14 Item 16 15 Item 17 16 Item 18 17
Item 1 0 Item 2 1 Item 3 2 Item 4 3 Item 5 4 Item 6 5 Item 7 6 Item 8 7 Item 9 8 Item 10 9 Item 11 10 Item 12 11 Item 13 12 Item 14 13 Item 15 14 Item 16 15 Item 17 16 Item 18 17

TableA sortable, filterable table.╭──────────────────────────────────────────────────────────────────────╮ │ Name Language Stars │ ├──────────────────────────────────────────────────────────────────────┤ │ sigil Rust 4210 │ │ wgpu Rust 12800 │ │ helix Rust 36000 │ ╰──────────────────────────────────────────────────────────────────────╯
╭──────────────────────────────────────────────────────────────────────╮ │ Name Language Stars │ ├──────────────────────────────────────────────────────────────────────┤ │ sigil Rust 4210 │ │ wgpu Rust 12800 │ │ helix Rust 36000 │ ╰──────────────────────────────────────────────────────────────────────╯

HeatmapA grid of colored cells, drawn as one image that fills its box.██▐████▐████▐████▐████▐████▐██ ██▐████▐████▐████▐████▐████▐██ 🬭🬭▐🬭🬭🬭🬭▐🬭🬭🬭🬭▐🬭🬭🬭🬭▐🬭🬭🬭🬭▐🬭🬭🬭🬭▐🬭🬭 ██▐████▐████▐████▐████▐████▐██ ██▐████▐████▐████▐████▐████▐██ ██▐████▐████▐████▐████▐████▐██ ██▐████▐████▐████▐████▐████▐██ 🬭🬭▐🬭🬭🬭🬭▐🬭🬭🬭🬭▐🬭🬭🬭🬭▐🬭🬭🬭🬭▐🬭🬭🬭🬭▐🬭🬭 ██▐████▐████▐████▐████▐████▐██ ██▐████▐████▐████▐████▐████▐██ ██▐████▐████▐████▐████▐████▐██ ██▐████▐████▐████▐████▐████▐██ 🬭🬭▐🬭🬭🬭🬭▐🬭🬭🬭🬭▐🬭🬭🬭🬭▐🬭🬭🬭🬭▐🬭🬭🬭🬭▐🬭🬭 ██▐████▐████▐████▐████▐████▐██ ██▐████▐████▐████▐████▐████▐██
██▐████▐████▐████▐████▐████▐██ ██▐████▐████▐████▐████▐████▐██ 🬭🬭▐🬭🬭🬭🬭▐🬭🬭🬭🬭▐🬭🬭🬭🬭▐🬭🬭🬭🬭▐🬭🬭🬭🬭▐🬭🬭 ██▐████▐████▐████▐████▐████▐██ ██▐████▐████▐████▐████▐████▐██ ██▐████▐████▐████▐████▐████▐██ ██▐████▐████▐████▐████▐████▐██ 🬭🬭▐🬭🬭🬭🬭▐🬭🬭🬭🬭▐🬭🬭🬭🬭▐🬭🬭🬭🬭▐🬭🬭🬭🬭▐🬭🬭 ██▐████▐████▐████▐████▐████▐██ ██▐████▐████▐████▐████▐████▐██ ██▐████▐████▐████▐████▐████▐██ ██▐████▐████▐████▐████▐████▐██ 🬭🬭▐🬭🬭🬭🬭▐🬭🬭🬭🬭▐🬭🬭🬭🬭▐🬭🬭🬭🬭▐🬭🬭🬭🬭▐🬭🬭 ██▐████▐████▐████▐████▐████▐██ ██▐████▐████▐████▐████▐████▐██

List rowOne row of a list.Build finished nowBuild finished now
Key-value gridA two-column key/value grid.Host wgpu ──────────────────────────────────────── Backend metal
Host wgpu ──────────────────────────────────────── Backend metal

Key-value rowOne key/value row.Region eu-west-1Region eu-west-1
Documents

MarkdownRendered markdown.Heading Body with bold and code. • one • two
Heading Body with bold and code. • one • two

Markdown editA markdown editor with preview.Edit me, *live* preview. │Sigil widgets │ - one │Edit me, live preview. - two │ │• one │• two │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │
Edit me, *live* preview. │Sigil widgets │ - one │Edit me, live preview. - two │ │• one │• two │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │

HTMLRendered HTML subset.Release notes Sigil renders HTML with inline styles.
Release notes Sigil renders HTML with inline styles.

Code editA code editor with built-in╭──────────────────────────────────────────────────────────────────────────────╮ │fn main() { │ │ println!("hi"); │ │} │ ╰──────────────────────────────────────────────────────────────────────────────╯
╭──────────────────────────────────────────────────────────────────────────────╮ │fn main() { │ │ println!("hi"); │ │} │ ╰──────────────────────────────────────────────────────────────────────────────╯
text_editediting.
MermaidA rendered mermaid diagram.┌──────┐ │ Edit │ └──────┘ │ │ ▼ ┌───────┐ │ Parse │ └───────┘ │ │ ▼ ┌───────┐ │ Paint │ └───────┘┌──────┐ │ Edit │ └──────┘ │ │ ▼ ┌───────┐ │ Parse │ └───────┘ │ │ ▼ ┌───────┐ │ Paint │ └───────┘
DiffA rendered unified diff of text or a parsed╭──────────────────────────────────────────────────────────────────────────────╮ │ src/app.rs +1 −1 │ │ --- a/src/app.rs │ │ +++ b/src/app.rs │ │ 1 fn main() { │ │ 2 - old(); │ │ 2 + fresh(); │ │ 3 } │ ╰──────────────────────────────────────────────────────────────────────────────╯
╭──────────────────────────────────────────────────────────────────────────────╮ │ src/app.rs +1 −1 │ │ --- a/src/app.rs │ │ +++ b/src/app.rs │ │ 1 fn main() { │ │ 2 - old(); │ │ 2 + fresh(); │ │ 3 } │ ╰──────────────────────────────────────────────────────────────────────────────╯
Patch.
Indicators
Content

TextThe one text node.Text wraps to the width of its parent and flows onto the next line.
Text wraps to the width of its parent and flows onto the next line.

LabelThe one text node.Labels and text share TextCon…
Labels and text share TextCon…

IconAn icon: a bundled▲
▲
Icon, such asicon(Icon::Folder), or a text glyph.
ImageAn image node from an▐▐▐▐ ▐▐▐▐ ▐▐▐▐ ▐▐▐▐
▐▐▐▐ ▐▐▐▐ ▐▐▐▐ ▐▐▐▐
ImageSource.
PathA vector path.🬹 🬦█🬓 🬉🬎🬄
🬹 🬦█🬓 🬉🬎🬄

ChartA bar, line, or candle chart.╭──────────────────────────────────────────────────────────────────────────────╮ │ │ │ │ │ 50 │ │ │ │ │ │ │ │ │ │ 25 │ │ │ │ │ │ │ │ 0 ───────────────────────────────────────────────────────────────────── │ │ │ │ │ │ Q1 Q2 Q3 Q4 │ │ │ │ │ │ │ ╰──────────────────────────────────────────────────────────────────────────────╯
╭──────────────────────────────────────────────────────────────────────────────╮ │ │ │ │ │ 50 │ │ │ │ │ │ │ │ │ │ 25 │ │ │ │ │ │ │ │ 0 ───────────────────────────────────────────────────────────────────── │ │ │ │ │ │ Q1 Q2 Q3 Q4 │ │ │ │ │ │ │ ╰──────────────────────────────────────────────────────────────────────────────╯

Section labelA section heading row.SectionSection
Notice bandA full-width notice.✓ Deployment finished
✓ Deployment finished

Empty stateA placeholder for empty content.No results Try a different search term.No results Try a different search term.
Hint barA key hint row.↑↓ navigate Enter select
↑↓ navigate Enter select

AvatarInitials in a circle.TG
TG

Horizontal dividerA horizontal divider.────────────────────────────────────────────────────────────
Vertical dividerA vertical divider that fills the height.│ │ │ │ │
│ │ │ │ │
Plumbing

InteractiveMake any node hoverable, pressable, and focusable.Interactive row
Interactive row

Axis dragDrag along one axis.╭──────────────────╮ │ │ │ │ │ Width 208 │ │ │ │ │ ╰──────────────────╯
╭──────────────────╮ │ │ │ │ │ Width 208 │ │ │ │ │ ╰──────────────────╯

Drag ghostThe node that follows the pointer.╭──────────────────────────────────────╮ │ │ │ │ │ Card A │ │ │ │ ╭─────────────────────────┴ ╰────────────┤ │ ╭──────────────────────── ╭────────────┤ │ │ │ │ │ │ │ Card A │ Drop a car│ │ │ │ │ │ │ ╰──────────────────────── ╰────────────┤ ╰──────────────────────────
╭──────────────────────────────────────╮ │ │ │ │ │ Card A │ │ │ │ ╭─────────────────────────┴ ╰────────────┤ │ ╭──────────────────────── ╭────────────┤ │ │ │ │ │ │ │ Card A │ Drop a car│ │ │ │ │ │ │ ╰──────────────────────── ╰────────────┤ ╰──────────────────────────

TerminalA terminal transcript with an input line.$ cargo build Compiling sigil-ui v0.1.0 Finished dev profile$ cargo build Compiling sigil-ui v0.1.0 Finished dev profile