Tabs
Let readers switch between related examples or platform-specific content.
Loading documentation…
Tabs presents related content one panel at a time. It is useful for package
manager commands, framework-specific instructions, language variants, and
short comparisons where readers need only one option to complete the task.
Each Tab uses title as its visible label, with label available as an
alias. The first tab opens by default. Add a value when you need a stable key
and set defaultValue to choose a different initial panel.
Import the package with full type information.
Keep the number of tabs small and make their content equivalent in purpose.
Place sequential steps in Steps instead; tabs can hide information readers
must see in order.
Tabs can make an overview feel more like a tailored guide when every platform has the same goal but a different starting point.
Connect the repository and let Vercel detect the framework automatically.
Direct Tab elements to render as tab panels.
The value of the panel shown initially. It defaults to the first tab's explicit or generated value.
Selects the tab-list appearance. It defaults to default.
A Tab label. It takes precedence over label.
Alias for a Tab title when title is not supplied.
An optional stable identifier for a Tab. When omitted, one is
generated from its label.
The content rendered in an individual Tab panel.