Components
Tabs
Switch between alternative pieces of content.
Usage
Install with Homebrew: brew install node.
Download the installer from nodejs.org.
Use your distribution’s package manager.
<Tabs>
<Tab label="macOS">
Install with Homebrew: `brew install node`.
</Tab>
<Tab label="Windows">
Download the installer from nodejs.org.
</Tab>
<Tab label="Linux">
Use your distribution's package manager.
</Tab>
</Tabs>Synced tabs
Tabs with the same sync key switch together and remember the choice.
First group, macOS.
First group, Windows.
Second group, macOS.
Second group, Windows.
<Tabs sync="os">
<Tab label="macOS">First group, macOS.</Tab>
<Tab label="Windows">First group, Windows.</Tab>
</Tabs>
<Tabs sync="os">
<Tab label="macOS">Second group, macOS.</Tab>
<Tab label="Windows">Second group, Windows.</Tab>
</Tabs>Props
syncstring
Key shared by tab groups that should switch together.
labelstringrequired
On
Tab: the tab button text.