A frosted glass navigation pill floating at the top of the page. A highlight glides with spring easing between links on hover, focus and scroll position, the pill tightens as you scroll, and the call to action sits on the right. On phones the links fold into a sheet under the pill. Arrow keys move between links, and a short autoplay sweeps the highlight until you touch it. Ships inside a scrollable demo page.
Included in Standard and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
import { NavbarFloatingPill } from "@/components/hyperblur-pro/navbar-floating-pill"
<NavbarFloatingPill />| Prop | Type | Default | Description |
|---|---|---|---|
| brand | string | "Halo" | Brand name next to the generic mark. |
| links | { label: string; href?: string }[] | Product, Craft, Customers, Pricing, Journal | Navigation links. Links without an href scroll to the matching demo section. |
| ctaLabel | string | "Get started" | Label of the call to action on the right. |
| ctaHref | string | "#" | Target of the call to action. |
| theme | "dark" | "light" | "dark" | Color theme; every color is a --hbp-fpn-* CSS variable you can override. |
| demo | boolean | true | Sweeps the highlight across the links until the user interacts. |
| onNavigate | (link, index) => void | undefined | Called when a link is chosen. |
Source code is included in Standard and above