Successor to `TabList`. Switches between views on web and mobile from one component.
Health
Source
Playground
Accessibility
unknown
Platform
Universal
Contrib Component
TabListNext is a community contributed component. We encourage its usage but it might not give the same level of robustness (accessibility, tests, ...) than core Murray components.- Overview
- Props
Loading...
TabListNext
The TabListNext component is available for universal (web and mobile) applications.
Overview
See the component source code for API details and examples.
tip
This component is universal, its usage is the same on web and mobile.
TabListNext props
| Name | Type | Default Value | Description | Usage count |
|---|---|---|---|---|
| fullWidth | booleanundefined | false | Fills its container and insets the tabs by 16px, so the primary divider runs edge to edge. | |
| items* | 2 possibilities{ title: string; isActive: boolean; onPress?: (() => void)undefined; }[] | |||
| variant | "primary""secondary"undefined | primary |