Back to components
ComponentNavbarFree

Morphing Pill Nav React component

A responsive pill navigation with a spring-driven indicator that moves and changes width between links, optional hover following, icons and controlled active state.

About the Morphing Pill Nav component

A responsive pill navigation with a spring-driven indicator that moves and changes width between links, optional hover following, icons and controlled active state.

Installation

Add the Morphing Pill Nav component to your project with the shadcn CLI. It lands in components/morphing-pill-nav.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/morphing-pill-nav

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install motion lucide-react clsx tailwind-merge

Related components

Gooey Tab Bar
Free
Expanding Card Navbar
Free
Multi-row Header
Free
Vertical Sidebar Header
Free
Phone Marquee Showcase
Phone Mockup
Free