Expand description
Re-exports of all UI building blocks.
§Component overview
| Component | Description |
|---|---|
asciiimg | Pixel-art image renderer |
badge | Small inline status badge |
bigtext | FIGlet-style large text |
block | Titled bordered container (BobaBlock) |
border | Customizable box-drawing border |
button | Styled button with variants and callbacks |
canvas | Low-level pixel drawing surface |
effect | Post-processing effects (scanlines, glow, etc.) |
filepicker | File/directory browser |
form | Tab-navigable form with labeled fields |
help | Keyboard shortcut legend |
input | Single-line text input |
layer | Layer stack compositor |
layout | Flex-like layout helpers + mouse dispatcher |
list | Scrollable selectable list |
modal | Modal dialog overlay |
paginator | Dot-indicator page selector |
progress | Horizontal progress bar |
spinner | Animated loading spinner |
stopwatch | Elapsed-time display |
syntax | Syntax-highlighted code block |
table | Column-aligned table with selection |
tabs | Horizontal tab bar |
textarea | Multi-line text editor |
toast | Toast notification pop-up |
tree | Collapsible tree navigator |
viewport | Scrollable viewport into a larger canvas |
See the Component trait for the interface all interactive widgets implement.
Modules§
- asciiimg
- Simple ASCII-art image renderer.
- badge
- Small badge / pill labels.
- bigtext
- Large ASCII-art text using figlet fonts.
- block
- Opinionated block wrappers with a fluent builder API.
- border
- Custom borders for styled strings and surfaces.
- button
- Styled button component with variants, callbacks, and event handling.
- canvas
- Raw canvas — direct access to a
Bufferfor custom drawing. - effect
- Screen-space effects that mutate a
Bufferafter widgets have rendered. - filepicker
- File picker / directory tree browser.
- form
- Form container — groups inputs, buttons, and lists with automatic focus/tab management.
- help
- Help / keybind hint bar — contextual shortcuts display.
- input
- layer
- Layer compositor — stack widgets with optional screen-space effects.
- layout
- Mouse hitbox tracking and responsive auto-layout.
- list
- modal
- Modal / Dialog component for overlays.
- paginator
- Pagination controls.
- pattern
- Pattern and gradient fills for foreground, background, and borders.
- powerline
- Powerline-style status bar and command palette.
- progress
- reactive
- Reactive text elements that auto-update when
Mutablecontent changes. - spinner
- stopwatch
- Simple stopwatch / timer component.
- style
- Opinionated style wrappers with layout primitives.
- syntax
- Syntax-highlighted code block.
- table
- Data table component with sortable columns and keyboard navigation.
- tabs
- Tab bar component with reactive binding and callbacks.
- textarea
- Multiline text area — like
<textarea>but for the terminal. - toast
- tree
- Tree view — collapsible hierarchical list.
- viewport
- Scrollable viewport that crops a larger virtual area into a visible window.
Traits§
- Component
- The core interface for an interactive UI component.