Chip
A small tag.
dot puts a dot in the chip's tone before the label, for status pills; leading puts any node, such as an icon, before it.
GUITUIRuns in the browser
chipPreview
Usage example
fn chip_demo() -> ChipBuilder { chip("Stable", Tone::Success) }API
| Name | Signature | Purpose |
|---|---|---|
chip | `fn chip(label, tone: Tone) -> ChipBuilder`; `.dot()`, `.leading(node)` | A small tag. dot puts a dot in the chip's tone before the label, for status pills; leading puts any node, such as an icon, before it. |