A single content area with multiple panels, each associated with a header in a list.

Content for tab 1
Content for tab 1

Props

Themeable

Accepts StackView props.

Use the tabs key in ThemeProvider to customize the default properties of this component.

Controls the active Tab and TabPanel.

childrenReactReactNode

Usually accepts TabList and TabPanel components.

Used in place of activeIndex for uncontrolled components.

onChangeFunction

Called when the active tab should change.

returns nextActiveIndex