An analytics admin sidebar that becomes a bottom dock on phones. On wide layouts it is a regular sidebar with search, sections and badges. Below 768px it turns into a floating bottom dock with four icons, a sliding active highlight and a raised center button that opens a full menu bottom sheet with a tile grid, search and profile. The sheet closes by dragging down, with Escape, the scrim or the close button, and traps focus while open. The demo screen is a store analytics dashboard: KPI cards with sparklines, a weekday by hour heatmap, a live users counter with a ticking bar chart, a conversion funnel, a revenue donut and a recent orders table, all reflowing from desktop to phone. A phone preview of the dock sits beside it on very wide layouts.
Included in Standard and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
import { SidebarMobileDock } from "@/components/hyperblur-pro/sidebar-mobile-dock"
<SidebarMobileDock accent="#3ddc97" dockIds={["overview", "traffic", "orders", "alerts"]} onNavigate={(id) => router.push(`/${id}`)} style={{ height: 900 }} />| Prop | Type | Default | Description |
|---|---|---|---|
| items | SidebarDockSection[] | sample sections | Sections with id, title and items. Each item has id, label, icon name and an optional badge. They fill the sidebar and the sheet grid. |
| dockIds | string[] | ["overview", "traffic", "orders", "alerts"] | Ids of the four items shown in the dock. The first two sit left of the center button, the rest right. |
| user | { name: string; role: string } | { name: "Noor Haddad", role: "Operations lead" } | Signed in user shown in the sidebar footer and at the bottom of the sheet. |
| brand | string | "Pulse" | Product name next to the generic logo mark in the sidebar. |
| accent | string | "#3ddc97" | Accent for the center button, active states and focus rings. |
| defaultActive | string | "overview" | Item id that starts active. |
| onNavigate | (id: string, item: SidebarDockItem) => void | Called when an item is chosen from the sidebar, dock or sheet. | |
| children | React.ReactNode | Replace the demo page with your own content. |
Source code is included in Standard and above