Skip to Content

Tabs

Tabs organize content into multiple sections and allow users to navigate between them.

Content for tab one.

Disabled

Content for tab one.
Content for tab one.

Component props

Tabs

NameTypeDescription
selectedKeystringControlled selected tab key
defaultSelectedKeystringDefault selected tab key
onSelectionChange(key: string) => voidCalled when selection changes

Tab

NameTypeDescription
idstringUnique tab identifier (required)
hrefstringMakes the tab a link
isDisabledbooleanDisables the tab