Documentation
¶
Overview ¶
Package foam provides higher-order TUI components for Bubble Tea, composed from the primitives in charm.land/bubbles/v2.
Each component lives in its own sub-package and follows the standard bubbles contract: a Model with Init, Update, and View, configured via functional options, with public KeyMap and Styles for theming.
Directories
¶
| Path | Synopsis |
|---|---|
|
examples
|
|
|
palette/advanced
command
Command palette-example runs the palette bubble standalone.
|
Command palette-example runs the palette bubble standalone. |
|
palette/overlay
command
Command palette-overlay shows the palette as a modal layer over a background model — the canonical "modal palette" recipe.
|
Command palette-overlay shows the palette as a modal layer over a background model — the canonical "modal palette" recipe. |
|
palette/simple
command
Command palette-simple is the minimal foam/palette example: a single mode that fuzzy-filters a list of commands as you type — no "> "-style prefix required.
|
Command palette-simple is the minimal foam/palette example: a single mode that fuzzy-filters a list of commands as you type — no "> "-style prefix required. |
|
Package palette provides a command-palette bubble for Bubble Tea programs.
|
Package palette provides a command-palette bubble for Bubble Tea programs. |
Click to show internal directories.
Click to hide internal directories.
