Tabs
Tabs are used to show different views or sections of content within the same context.
Figma Link
- Web Components
- Flutter
Demo
zeta-web v1.4.0
Web Components
A tab item to be used in a zeta-tab-bar
Storybook
https://design.zebra.com/web/storybook/?path=/docs/components-tab-bar--docs
Slots
| Name | Description | Type |
|---|---|---|
| default | The content of the menu item. | text |
Attributes
| Name | Description | Type | Default |
|---|---|---|---|
| active | boolean | false | |
| selected | boolean | false |
Inherited Attributes
| Name | Description | Type | Default | Inherited From |
|---|---|---|---|---|
| rounded | Whether the component is rounded or sharp.When true, rounded will set the border radius of the first child, and any children with class 'contourable-target' to --radius-minimal.Otherwise, this value will be --radius-none. | boolean | undefined | true | Contourable |
| disabled | Boolean for if component is disabled.This will apply disabled styles. | boolean | false | Interactive |
| tabIndex | The tab index of the component, used to determine the order in which elements receive focus when the user navigates through the document by pressing the Tab key. | number | 0 | Interactive |
Flutter component not available yet