Metric Morph
- from @snapcn
Bar chart animation: a button morphs into a stat and a histogram chart fills in. The control becomes the number it produces. An export button settles from the press that opened the shot, its label dissolves, and the pill collapses inward into a square that runs from black through brown into the accent — the tallest cell of a chart that then fades up around it. The collapse is an ease-in that arrives at full speed, so it slams into the grid rather than settling into it, and the chart rises on one clock with no stagger, as one object. Every curve fitted frame by frame against a reference from sub-pixel edges.
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 @snapcn/metric-morphLive preview
No live preview has been built for this component yet.
