@react-clickmap/dashboard
v0.1.0
Published
Batteries-included dashboard components for react-clickmap.
Downloads
44
Maintainers
Readme
@react-clickmap/dashboard
Batteries-included dashboard UI for react-clickmap.
Install
pnpm add react-clickmap @react-clickmap/dashboardUsage
"use client";
import { ClickmapDashboard } from "@react-clickmap/dashboard";
import { memoryAdapter } from "react-clickmap";
const adapter = memoryAdapter();
export default function AnalyticsPage() {
return (
<main style={{ padding: 20 }}>
<ClickmapDashboard
adapter={adapter}
title="Behavior Overview"
subtitle="Self-hosted event intelligence"
showOverlayControls
/>
</main>
);
}Built-in panels
- KPI metrics (events, sessions, rage/dead rates, scroll depth)
- Event mix distribution bars
- Device distribution
- Top pages
- Element hotspot summaries
- Hourly activity timeline
Overlay controls
Enable and toggle overlays from the dashboard:
- Heatmap overlay
- Attention overlay
- Comparison overlay (when
compareRangeis provided) - Scroll-depth rail
