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