Rate this page:
A layout container for multiple tabs. Use it to organize information into separate views in your app.
1
import ForgeUI, { Tabs, Tab } from '@forge/ui';
Name | Type | Required | Description |
---|---|---|---|
children | Tab | Yes | The tab components to be displayed. |
A simple group of two tabs.
1 2 3 4 5 6 7 8
<Tabs>
<Tab label="Tab 1">
<Text>Hello</Text>
</Tab>
<Tab label="Tab 2">
<Text>World!</Text>
</Tab>
</Tabs>
Name | Type | Required | Description |
---|---|---|---|
label | string | Yes | The label text to display. |
children | ForgeComponent | Yes | The contents to display in the tab. |
Rate this page: