Area trend card
- from @knowns-ui
A card for a total that is made of parts over time: a label, a headline total with a change badge, a period dropdown, a soft-gradient area chart (stacked, overlaid or 100% share) and a legend with each series' total. Pointing at a band, a line or a legend entry swaps the headline to that series' total, which rolls with the number; leaving restores the grand total.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @knowns-ui/area-trend-cardRegistry dependencies4
Packages0
No npm packages are installed with it.
