Components
Tabs
A set of selectable items for navigating between related content sections.
Content for Tab 1
Props
Name | Type | Default | Description |
---|---|---|---|
label | string | - | The label of the tab. |
icon | string | - | The icon to display in the tab. |
children | React.ReactNode | - | The content of the tab. |
className | string | - | Additional classes for styling. |
Best Practices
- Use descriptive labels for tabs to clearly convey their content.
- Consider using icons alongside labels for better visual representation.
- Make sure the tab content is organized and easy to navigate.