Back to Components
Navigation

Dock

Animated dock with magnification and hover labels inspired by desktop launchers.

Dependencies

  • clsx
  • tailwind-merge
  • framer-motion

Files

  • components/ui/dock.tsx

Installation

Using shadcn CLI

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

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge framer-motion