Tabs

Use this component to switch views within the same page context.


Examples


margin
borderBottom
Learn More
disableResponsiveBehavior
bool
Not recommended - Disables truncating tabs that overflow into a popover menu
fitted
bool
Fits the tabs to span the full width of the container
onSelect
function
Callback when a tab is selected. Returns array index.
tabs
array
Tabs content. Objects of Button and UnstyledLink props work here.
selected
number
Required
Index of the selected tab