Animated Tabs
freeSegmented pill tabs powered by Motion layoutId for fluid spring transitions.
#tabs#navigation#layoutId
CLI Installation
pnpm dlx shadcn@latest add https://ui.ibidi.dev/r/animated-tabs.json
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| tabs | TabItem[] | DEFAULT_TABS | Array of tab items with optional badge. |
| defaultTab | string | tabs[0].id | Initially active tab id. |