Tabs

The Tabs component organizes content into separate tabs that users can switch between. Each tab can contain different types of content like examples or code snippets.

Properties

title
stringRequired

The title displayed in the tab header

language
string

The language associated with the code block. Any arbitrary string may be used.

When a user selects a tab with a specific language, all other tabs assigned to the same language will automatically sync and switch to match.

children
string | JSXRequired

The content to be displayed when the tab is selected. Can include text, markdown, and components.


☝️ Welcome to the content that you can only see inside the first Tab.