Navbar Floating Pill
UnlimitedA floating pill navbar that condenses as you scroll: it narrows on a spring, drops its release chip and swaps the CTA label for an arrow.
navbarfloatingpillscrollsticky
Installation
Run the shadcn CLI in a project with Tailwind CSS. The component lands in components/pixelpapa/navbar-floating-pill.tsx. This is an Unlimited component, so the CLI needs your API key: set it up once, then install it by name.
Build it with AI
Prefer to let an agent do the wiring? Copy this prompt, describe where the component should go, and paste.
More navbars
- Navbar Announcement BarA navbar topped by a dismissible strip that ticks through announcements and folds away with a spring when closed.
- Navbar Centered LogoAn editorial storefront header with a serif wordmark between two link groups; labels roll on hover and the bag count pops when it changes.
- Navbar Command SearchA docs navbar whose compact search field widens on focus or ⌘K into a filterable result list with arrow-key navigation.
- Navbar Dynamic IslandA compact black pill of links that swells on a spring into a live notification, drains a timer line, then shrinks back to navigation.
- Navbar Glass BlurA frosted floating navbar that blurs and saturates whatever scrolls beneath it, with a specular highlight that tracks the pointer along the glass.
- Navbar Mega MenuHover or focus a trigger and one shared panel springs to the new height while its content crossfades in the direction you moved.