A full glassmorphism dashboard over a slowly drifting aurora backdrop: frosted sidebar with a lit pill indicator, collapse and mobile drawer, glass tabs, animated KPI cards, line, stacked bar, donut and radial charts with tooltips, activity feed, orders table and a glass control kit.
Included in Pro and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
import { GlassDashboardScreen } from "@/components/hyperblur-pro/glass-dashboard-screen"
<GlassDashboardScreen theme="dark" accent="#8b7bff" style={{ height: 900 }} />| Prop | Type | Default | Description |
|---|---|---|---|
| theme | "dark" | "light" | "dark" | Color theme. A built-in toggle in the top bar switches it at runtime. |
| accent | string | "#8b7bff" | Accent color for the active pill, primary buttons, chart series and focus rings. |
| backgroundSrc | string | Optional photo for the backdrop. Pass the exported glassDashboardPhoto for a ready made Unsplash image. Without it the drifting gradient blobs are used. | |
| brand | string | "Lumora" | Product name shown next to the generic logo mark. |
| user | { name: string; role: string } | { name: "Ava Sterling", role: "Store owner" } | Signed in user shown in the sidebar footer. |
| currency | string | "$" | Currency symbol for revenue and order amounts. |
| defaultPeriod | "7D" | "30D" | "90D" | "12M" | "30D" | Initial period selected in the top bar tabs. |
| messages | number | 6 | Unread count shown as a badge on the Messages item. |
| projects | { name: string; color: string }[] | sample projects | Rows for the sidebar projects section, each with a glowing color dot. |
| activity | GlassDashboardActivity[] | sample activity | Recent activity feed entries: who, action, target, time and avatar tone. |
| orders | GlassDashboardOrder[] | sample orders | Rows for the orders table: id, customer, product, amount, status and date. |
| data | Partial<Record<GlassDashboardPeriod, GlassDashboardData>> | generated sample data | Per period metrics, line, stacked bars, donut and gauge data. Missing periods fall back to the samples. |
| onPeriodChange | (period: GlassDashboardPeriod) => void | Called when the selected period changes. | |
| onThemeChange | (theme: GlassDashboardTheme) => void | Called when the user flips the theme toggle. |
Source code is included in Pro and above