Components · Surfaces
Tabs
Switch between views of the same object. Counts are optional.
jsx
import { Tabs } from '@andeus/ui';
Tabs
Props
| Prop | Type | Default | |
|---|---|---|---|
| tabs | Array<string | { value, label, count? }> | Required | |
| value | string | first tab | Controlled with onChange; or pass defaultValue / defaultChecked. |