A full analytics screen with selectable KPI tabs driving a line or bar chart with period comparison, audience segments, a conversion funnel, a devices donut, sortable channels, realtime visitors, country filter, goals and CSV export.
Included in Pro and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
import { AnalyticsOverviewScreen } from "@/components/hyperblur-pro/analytics-overview-screen"
<AnalyticsOverviewScreen accent="#22d3ee" property="shop.aurora-goods.com" />| Prop | Type | Default | Description |
|---|---|---|---|
| accent | string | "#22d3ee" | Accent color for the selected metric, chart series, bars and focus rings. |
| product | string | "Lumen" | Product name used for the navigation label. |
| property | string | "shop.aurora-goods.com" | Tracked site shown under the page title. |
| user | string | "Rhea Castillo" | Signed in user, shown as avatar initials in the rail. |
| currency | string | "$" | Currency symbol for revenue and order values. |
| defaultRange | "7D" | "30D" | "90D" | "12M" | "30D" | Initial date range. |
| defaultMetric | "revenue" | "visitors" | "conversion" | "aov" | "revenue" | Metric shown in the main chart at start. |
| channels | AnalyticsOverviewChannel[] | sample channels | Rows for the acquisition table: name, sessions, conversion, revenue and color, based on a 30 day window. |
| countries | AnalyticsOverviewCountry[] | sample countries | Rows for the top countries list: name, two letter code and visitors. |
| live | boolean | true | Simulate realtime visitors with a ticking counter and minute bars. |
| onRangeChange | (range: AnalyticsOverviewRange) => void | Called when the date range changes. | |
| onExport | (csv: string) => void | Receive the exported CSV instead of downloading it in the browser. |
Source code is included in Pro and above