Tabs
Beta notice: This page is being built.Edit on GitHub(opens in new tab)
Tabs is a LongLink component that displays a tab strip and the selected Tab’s content.
This is a LongLink-specific component.
longlink docs component "Tabs"
Example
Overview content
Properties
| Tabs - Properties |
|---|
children Tab elements defining labels and panel content.ReactNode |
gap 0 | 0.5 | 1 | 1.5 | 2 | 3 | 4 | 5 | 6 | 8 | 10 |
hasDivider boolean |
onChange Receives the selected Tab value; use with value to control selection.(value: string) => void |
value Selected Tab value; omit for internal selection, initially choosing the first tab.string |
| Tab - Properties |
|---|
children Panel content mounted only while this tab is selected.ReactNode |
value Unique value identifying this tab.string |
label Visible tab label and accessible panel name.string |
isDisabled Whether the tab is disabled.boolean |