shoelace/docs/components/tab.md

361 B

Tab

[component-header:sl-tab]

Tabs are used inside tab groups to represent tab panels.

<sl-tab>Tab</sl-tab>
<sl-tab active>Active</sl-tab>
<sl-tab closable>Closable</sl-tab>
<sl-tab disabled>Disabled</sl-tab>

?> Additional demonstrations can be found in the tab group examples.

[component-metadata:sl-tab]