Rate this page:
A visual divider, used to organize content by grouping similar information into tabs on the same page.
1 2import ForgeUI, { Tabs, Tab } from '@forge/ui';
Name | Type | Required | Description |
---|---|---|---|
children | Tab | Yes | The tab components to be displayed. |
1 2<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: