Skip to main content

Tabs

tabs
<Tabs>
<Tab label="First Tab">
Content of the First Tab
</Tab>
<Tab label="Second Tab">
Content of the Second Tab
</Tab>
</Tabs>

Options

Tabs Options

NameDescriptionRequiredDefault
idUnique Id for this set of tabs. When set, the selected tab is included in the URL so it can be sharedNo-
colorColor for the active tab. Can be any valid hex, rgb, or hsl string.No-

Tab Options

NameDescriptionRequiredDefault
labelLabel for the tabYes-
idUnique Id for this tab. Should only be needed if 2 tabs have the same label, which isn't recommended.No{label}