A direction-aware, draggable carousel tabs component.
npx shadcn-vue@latest add https://raya-ui.com/registry/animated-tabs.jsonOr manually:
npm install @vueuse/coreStack tabs vertically using the orientation prop.
A minimal underline style, perfect for sub-navigation.
Use v-model to control the active tab programmatically.
Active Index: 0
When items exceed the container width, the list becomes scrollable and draggable.
| Prop | Default | Description |
|---|---|---|
| items | [] | Array of tab objects (label, icon, content). |
| variant | 'pill' | Visual style. Options: 'pill', 'link'. |
| orientation | 'horizontal' | Layout direction. 'vertical' stacks items. |
| v-model | undefined | The active tab index (0-based). |
| content | true | Whether to render the content panel below the tabs. |