Skip to content

Tab

Defined in: components/tabs.ts:5

A single tab definition.

optional id?: string

Defined in: components/tabs.ts:7

Stable id used as the selection value. Falls back to the array index.


label: Slot

Defined in: components/tabs.ts:9

Tab label shown in the tab strip.


optional icon?: Slot

Defined in: components/tabs.ts:11

Optional leading icon.


optional content?: Content

Defined in: components/tabs.ts:13

Content rendered in the panel when this tab is active.


optional disabled?: boolean

Defined in: components/tabs.ts:15

Disables selecting this tab.