Card Stat Sparkline
UnlimitedA KPI card whose sparkline draws itself in, then lets you scrub along it to read any point while the headline value follows.
cardstatsparklinechartkpi
Installation
Run the shadcn CLI in a project with Tailwind CSS. The component lands in components/pixelpapa/card-stat-sparkline.tsx. This is an Unlimited component, so the CLI needs your API key: set it up once, then install it by name.
Build it with AI
Prefer to let an agent do the wiring? Copy this prompt, describe where the component should go, and paste.
More cards
- Card 3D TiltA card that leans toward the pointer on springs, with a glare that tracks the cursor and layers floating at different depths.
- Card Border BeamA card with a comet of light travelling around its border, drawn with an animated conic gradient and a soft glow copy.
- Card Expandable DetailCompact rows that expand in place with a shared layout animation, pushing their neighbours aside on a spring.
- Card FlipA two-sided card that turns over on a spring when clicked or activated from the keyboard, on either axis.
- Card Glass FrostA frosted glass card with a lit top edge and fine grain, floating over slowly drifting colour blobs.
- Card Hover Reveal ActionsA media card whose artwork zooms on hover while quick actions spring in from the edge and a call to action rises from the footer.