Back to Components
Navigation

Floating Toolbar

A floating pill toolbar with an animated active indicator and springy hover motion.

Dependencies

  • clsx
  • tailwind-merge
  • framer-motion

Files

  • components/ui/floating-toolbar.tsx

Installation

Using shadcn CLI

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

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge framer-motion