A black island at the top of the page that is both your navigation and a live status surface. It grows and reshapes with spring easing between rest, expanded search with suggestions, an incoming notification, an added to cart confirmation and a mini music player, cross fading its content as it goes. Demo buttons and product cards trigger each state, Escape returns to rest, and an autoplay cycles through the states until you take over.
Included in Standard and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
import { NavbarDynamicIsland } from "@/components/hyperblur-pro/navbar-dynamic-island"
<NavbarDynamicIsland />| Prop | Type | Default | Description |
|---|---|---|---|
| brand | string | "Orbit" | Brand name in the resting state. |
| links | { label: string; href?: string }[] | Home, Shop, Journal, About | Navigation links shown at rest. |
| products | { name: string; price: string; hue: number }[] | Aero Lamp, Halo Speaker, Drift Chair | Demo products; adding one triggers the cart state. |
| notification | { from: string; message: string } | Mira Chen: Shared the Q4 plan with you | Content of the notification state. |
| track | { title: string; artist: string; duration: number } | Late Night Drive, Neon Harbor, 214 | Content of the mini player. |
| suggestions | string[] | Wireless speakers, Desk lamps, Lounge chairs, Gift cards | Suggestions listed in the expanded search. |
| theme | "dark" | "light" | "dark" | Theme of the surrounding page; the island itself stays black and uses --hbp-isl-* variables. |
| demo | boolean | true | Cycles through every state until the user interacts. |
| state | "idle" | "search" | "notification" | "cart" | "player" | undefined | Controlled state; leave undefined for uncontrolled. |
| onStateChange | (state) => void | undefined | Called whenever the island changes state. |
Source code is included in Standard and above