KPI Spark Widget
KPI number ticker with mini sparkline that draws on mount and a trend delta pill.
Try it: Watch the ticker and sparkline draw on mount.
Installation
Install with the shadcn CLI:
npx shadcn@latest add https://www.framekitui.live/r/kpi-spark-widget.jsonOr, with the @framekit namespace registered: npx shadcn@latest add @framekit/kpi-spark-widget. You can also copy the source into components/ui/kpi-spark-widget.tsx (view on GitHub).
Usage
import { KpiSparkWidget } from '@/components/ui/kpi-spark-widget'Dependencies
motion
Related Widgets components
- Live Meter Dial
Animated semicircle gauge for delivery rate / ASR / concurrent calls.
- Podium Stack Leaderboard
Gold, silver and bronze cards stacked like a hand of trophies; promoting someone lifts their card past its rival, re-stacks the pile and morphs the medal finishes.
- Activity Stream Widget
Live-feeling activity feed with staggered row inserts.
- Glow Leaderboard List
Glass pill rows that genuinely compete: scores tick up live, rows re-rank with layout springs, amounts roll and the glowing leader highlight glides to the new #1.
- Status Heatmap Grid
Compact hour×day heatmap for message volume with hover tooltip.
- Polar Bloom Chart
A Nightingale rose that blooms: petals unfurl from the bud one after another, re-grow on springs when you switch datasets, and the hovered or arrow-key focused petal lifts out with a coloured glow…