TabGroup

TabGroup shares selection state between a `Tabs` tablist and a `TabPanels` placed anywhere in its subtree.

Props

React props
NameTypeRequiredDefaultDescription
classNamestring | ClassNameComponent<TabGroupInterface>NoClasses or state-aware element classes applied through the shared style contract.
selectedTabnumberNoControlled index of the selected tab.
defaultSelectedTabnumberNo0Index selected on mount when the group is uncontrolled.