Tabs

Set of content sections to be displayed one at a time.

Make changes to your account.

This component inherits props from the Tabs primitive and supports [common margin props](It supports common margin props.

Contains all component parts.

PropTypeDefault
asChildbooleanfalse

Contains the triggers that sit alongside the active content.

PropTypeDefault
size"1" | "2""2"
wrap"wrap" | "nowrap" | "wrap-reverse"
justify"start" | "center" | "end"
color"gray" | "purple"
highContrastboolean

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.