tabs
Switches between mutually exclusive content panels. Contains tab children; the child marked active is rendered.
Tab attributes
| Attribute | Type | Default | Description |
|---|---|---|---|
label | string | - | Text on the tab header. |
icon | string | - | Icon on the tab header. |
active | boolean | false | Whether this tab is selected. |
tabs tab(label="Overview" active=true) text Overview content here. tab(label="Settings") text Settings content here. tab(label="History" icon="clock") text History content here.