Set of content sections to be displayed one at a time.
This component inherits props from the Tabs primitive and supports common margin props.
Contains all component parts.
Contains the triggers that sit alongside the active content.
The button that activates its associated content.
Contains the content associated with each trigger.
Use the size
prop to control the size of the tab list.
Use the color
prop to assign a specific color to the tab list.
Use the highContrast
prop to increase color contrast with the background.
Tabs should not be used for page navigation. Use Tab Nav instead, which is designed for this purpose and has equivalent styles.