Back to Components
Navigation

Tabs

Tabbed interface with animated indicator and content panels.

PropsUsage ExampleVariations
Monitor KPIs, customer satisfaction, and usage trends.

Dependencies

  • clsx
  • tailwind-merge
  • framer-motion

Files

  • components/ui/tabs.tsx

Installation

Using shadcn CLI

npx shadcn add tabs --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge framer-motion

Related Navigation Components