Back to Tuist

TabItem

noora/docs/components/tabitem.md

4.204.0911 B
Original Source
<!-- 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

AttributeType or allowed valuesDefaultDescription
labelstring""Sets the label instead of using text content.
valuestringNoneSets the selected value.
iconstringNoneShows an icon before the label.
right-iconstringNoneShows an icon after the label.
hrefstringNoneRenders the tab as a navigation link.
disabledbooleanfalseDisables selection.

Slots

SlotDescription
defaultThe tab label.

Item

Describe one tab.

html
<noora-tab-item value="overview" icon="category">Overview</noora-tab-item>