Skip to content
Premium & Brand

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">

Skip ExpandableTabsProps props table
PropTypeDefaultDescription
ref
Ref<HTMLDivElement>
items*
ExpandableTab[]
value
string
defaultValue
string
onValueChange
(value: string) => void