Components
TabGroup
TabGroup shares selection state between a `Tabs` tablist and a `TabPanels` placed anywhere in its subtree.
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
className | string | ClassNameComponent<TabGroupInterface> | No | — | Classes or state-aware element classes applied through the shared style contract. |
selectedTab | number | No | — | Controlled index of the selected tab. |
defaultSelectedTab | number | No | 0 | Index selected on mount when the group is uncontrolled. |