Tabs - Keep React
Table of Contents#
Default Tabs#
The Default Tabs component showcases the basic implementation of tabs.
Tabs with Icon#
Enhance your tabs by incorporating icons alongside the tab labels.
Vertical Tab#
Display tabs vertically by setting the vertical
prop to true
.
Tabs API Reference#
Explore the available props for the <Tabs>
component
Property | Description | Type | Default |
---|---|---|---|
children | Children is tab items. | ReactNode | Item |
activeLabel | Which tabs by default will be active | string | one |
vertical | Tabs show vertical position | boolean | false |
className | Custom class name for the component | string | None |
Tabs Items API Reference#
Explore the available props for the <Tabs.Item>
component
Property | Description | Type | Default |
---|---|---|---|
disabled | Determines whether the tab item is disabled. | boolean | false |
className | Custom class name for the component | string | None |
label | This label connect to the content | string | one |