Current section

Files

Jump to
noora docs components tabitem.md
Raw

docs/components/tabitem.md

<!-- Generated by scripts/generate-web-components.js. Do not edit directly. -->
# TabItem
Describes one declarative tab item.
```html
<noora-tab-item value="overview" icon="category">Overview</noora-tab-item>
```
## Attributes
| Attribute | Type or allowed values | Default | Description |
| --- | --- | --- | --- |
| `label` | `string` | `""` | Sets the label instead of using text content. |
| `value` | `string` | None | Sets the selected value. |
| `icon` | `string` | None | Shows an icon before the label. |
| `right-icon` | `string` | None | Shows an icon after the label. |
| `href` | `string` | None | Renders the tab as a navigation link. |
| `disabled` | `boolean` | `false` | Disables selection. |
## Slots
| Slot | Description |
| --- | --- |
| `default` | The tab label. |
## Item
Describe one tab.
```html
<noora-tab-item value="overview" icon="category">Overview</noora-tab-item>
```