Skip to main content

Tabs

A tabbed component to switch between multiple views.

This is the content for Tab 1.

This is how you build a Tabs component:

<Tabs>
<TabItem value="tab1" label="Tab 1" default>
Content for Tab 1.
</TabItem>
<TabItem value="tab2" label="Tab 2">
Content for Tab 2.
</TabItem>
<TabItem value="tab3" label="Tab 3">
Content for Tab 3.
</TabItem>
</Tabs>

Attributes

value string required
Unique identifier for the tab.

label string required
Label displayed on the tab.

default boolean optional
Marks this tab as the default selected tab.

Example with Additional Components

You can include other components inside tabs.

Feel free to add other components inside a Tab, like Callouts.

Tip

Tabs are useful for organizing content without cluttering the interface.