Skip to content

Tab

Defined in: components/tabs.ts:6

A single tab definition.

optional id?: string

Defined in: components/tabs.ts:8

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


label: Slot

Defined in: components/tabs.ts:10

Tab label shown in the tab strip.


optional icon?: Slot

Defined in: components/tabs.ts:12

Optional leading icon.


optional content?: Slot

Defined in: components/tabs.ts:14

Content rendered in the panel when this tab is active. A string is rendered as rich text.


optional disabled?: boolean

Defined in: components/tabs.ts:16

Disables selecting this tab.