Back to Components
Navigation
Motion Tabs
Animated tabs with a sliding indicator and motion content transitions.
Monitor KPIs, customer satisfaction, and usage trends.
Dependencies
- clsx
- tailwind-merge
- framer-motion
Files
- components/ui/motion-tabs.tsx
Installation
Using shadcn CLI
npx shadcn add motion-tabs --url https://ui.hampton.ioManual installation
Copy the component file to your project and install dependencies:
npm install clsx tailwind-merge framer-motion