Three illustrative figures with their labels, a detail line, a proof drawn under each and a source footnote: switch the period and every figure rolls to its new value while the trend line glides and the bars rise or fall, and hover or focus brings up what each figure is compared to.
Install
Add it to your project
Run this in a project set up for shadcn/ui. It writes the files and installs the npm packages.
First time: connect the Infinity UI registry
- Create a personal token on your Tokens page.
- Put it in
.env.localasINFINITYUI_TOKEN. - Add the registry to
components.json:
{
"registries": {
"@infinityui": {
"url": "https://infinityui.io/r/{name}.json",
"headers": {
"Authorization": "Bearer ${INFINITYUI_TOKEN}"
}
}
}
}Using Claude Code, Codex, Cursor, Lovable or v0? See CLI & MCP for a setup prompt.
npm packages it adds
- motion
Code
import * as M from "@/registry/ndeko/blocks/stats/stats-01/index";
const C: any = (M as any).default ?? (M as any)["Stats01"] ?? Object.values(M).find((v) => typeof v === "function");
export default function Demo() { return <C />; }
































