API Reference > ui-core > Tabs > MainTabsProps MainTabsProps Interface Properties for the base Tabs component Extends TabsProps Inherited methods Name Inherited from Description onActivateTab(index: number): any Optional TabsProps Handler for activating a tab onClickLabel(index: number): any Optional TabsProps Handler for clicking on a label Properties Name Type Description mainClassName string Main CSS class name orientation Orientation Orientation of the Tabs list Inherited properties Name Type Inherited from Description activeIndex undefined | number TabsProps Index of the initial active tab green undefined | boolean TabsProps Indicates whether the bar on the active tab is green instead of the default blue labels string | TabLabel[] TabsProps Text shown for each tab @beta Defined in ui/core/src/ui-core/tabs/Tabs.tsx Line 67 Last Updated: 11 June, 2024