Tab
Defined in: components/tabs.ts:5
A single tab definition.
Properties
Section titled “Properties”
optionalid?: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.
optionalicon?:Slot
Defined in: components/tabs.ts:11
Optional leading icon.
content?
Section titled “content?”
optionalcontent?:Content
Defined in: components/tabs.ts:13
Content rendered in the panel when this tab is active.
disabled?
Section titled “disabled?”
optionaldisabled?:boolean
Defined in: components/tabs.ts:15
Disables selecting this tab.