Components Navigation
Tabs
Panels, one shown at a time, with CSS alone: each tab is a radio button.
$ pyblade ui:add tabs
Tabs
Line
Props
Written as attributes of <pb-ui.tabs>; put a colon before one to pass it a Python value, as in :items="items". A slot is written <pb-slot:name>.
| Name | Type | Default | Description |
|---|---|---|---|
| variant | str | "default" | default or line |
| class | str | "" | Added to the classes of the component. Every other attribute is spread on it too. |
Used with <pb-ui.tab>, which pyblade ui:add tabs adds with it.