A floating glass sidebar for a music product. It rests as an icon rail and expands over the page on hover or keyboard focus, with a spinning-cover mini player, a progress ring and an equalizer logo that follow the playing track. The page backdrop is the current cover blurred into the aurora. The demo screen is a working music home: now playing card with seekable waveform and controls, up next queue, album grid, listeners by hour area chart with keyboard scrub, genre donut and recent playlists. A handle pins the sidebar open for touch.
Included in Standard and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
import { SidebarFloatingGlass } from "@/components/hyperblur-pro/sidebar-floating-glass"
<SidebarFloatingGlass accent="#b86bff" tracks={tracks} onNavigate={(id) => router.push(`/${id}`)} style={{ height: 900 }} />| Prop | Type | Default | Description |
|---|---|---|---|
| items | SidebarGlassGroup[] | sample groups | Groups with id, title and items. Each item has id, label, icon name and an optional badge. |
| user | { name: string; role: string } | { name: "Iris Calloway", role: "Premium listener" } | Signed in user shown in the footer. |
| brand | string | "Sonora" | Product name next to the generic logo mark. |
| accent | string | "#b86bff" | Accent for the active tile, the logo, the progress ring, the waveform and the aurora backdrop. |
| defaultActive | string | "listen" | Item id that starts active. |
| defaultPinned | boolean | false | Keep the sidebar expanded instead of expanding only on hover or focus. |
| actionLabel | string | "New playlist" | Label of the quick action button at the top. |
| tracks | SidebarGlassTrack[] | 6 sample tracks | Tracks with id, title, artist, cover image URL and duration in seconds. They feed the mini player, the now playing card, the queue and the backdrop. |
| albums | SidebarGlassAlbum[] | 6 sample albums | Albums with id, title, artist, cover image URL and year for the album grid. |
| playlists | SidebarGlassPlaylist[] | 4 sample playlists | Playlists with id, title, meta line and cover image URL. |
| onNavigate | (id: string, item: SidebarGlassItem) => void | Called when an item is chosen. | |
| onAction | () => void | Called when the quick action button is pressed. | |
| onTrackChange | (track: SidebarGlassTrack) => void | Called when the playing track changes. | |
| children | React.ReactNode | Replace the demo page with your own content. It sits on the same aurora backdrop. |
Source code is included in Standard and above