Tabs
Tabs let you organize content into multiple panels, where only one panel is visible at a time. This is useful for grouping related information or presenting alternatives.
Basic usage
Wrap multiple <Tab> components inside a <Tabs> component. Each tab's value prop becomes both the tab label and identifier.
This is the overview panel. It contains introductory information about the topic.
Source:
Rich content
Tabs can contain any MDX content including code blocks, lists, callouts, and other components.
Install the package using your preferred package manager:
Source:
Synced tabs with groupId
Use the groupId prop to sync tab selection across multiple <Tabs> components on the same page. Tabs and Code Groups with the same groupId will keep their active tab in sync when they share matching tab values.
Open Terminal and run the installation command.
Configuration files are stored in ~/Library/Application Support/.
Source: