Tabs organize related content into distinct sections and provide users with a navigational interface to switch between these sections.
defaultOpen prop:open and onOpenChange props:blue, green, orange, red, royal, and purple. The default color is blue.primary.TabGroup component allows you to set a default color for the entire group using the defaultColor prop.defaultColor prop accepts a value of type ColorOption, which defines the available color options in the design system.color and onColorChange props.color prop sets the current color, and onColorChange is called when the user selects a new color.sm, md, lg and responsive and can be changed by passing the size prop.lg.responsive, the component will be responsive to the viewport.Screen prefix | Screen width | Component size |
|---|---|---|
|
| sm |
|
| md |
|
| lg |
TabGroup component follows WAI-ARIA recommendations on accessibility.
Key | Description | Condition |
|---|---|---|
| Open/Collapse the | Focused to |