Tabs are used to organize content by grouping similar information on the same page.
View source codeReactNode[]The children of the element. Should include TabList and TabPanels elements.
numberMake a tab initially active.
Default: 0(index: number) => voidReturns the active tab's index whenever the user changes tabs
numberTo control tabs' state
ReactNode[]The Tab items to display
stringclassName for the element
booleanWhether the TabList should fit the container
Default: falseReactNodeThe content to display as Tab
stringclassName for the element
ReactNode[]The tab panels to display