Expandable Tabs
Icon tabs where the active item expands to reveal its label.
Import
tsx
import { ExpandableTabs } from "@cronus-ui/ui";
bash
npx cronus-ui add expandable-tabs
Examples
API Reference
Generated from the component's exported types.
ExpandableTabsProps
Extends Omit<HTMLAttributes<HTMLDivElement>, "onChange">
| Prop | Type | Default | Description |
|---|---|---|---|
ref | Ref<HTMLDivElement> | — | — |
items* | ExpandableTab[] | — | — |
value | string | — | — |
defaultValue | string | — | — |
onValueChange | (value: string) => void | — | — |