Stats Pro 1: big numbers with trend linesPRO
Four counting numbers with a change note and a sparkline each, set in a single bordered grid.
Installation
Once per project: add the Pro registry and your licence key.
components.json{ "registries": { "@ballmac": "https://ui.ballmac.com/r/{name}.json", "@ballmac-pro": { "url": "https://ui.ballmac.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${BALLMAC_LICENSE_KEY}" } } } }.env.localBALLMAC_LICENSE_KEY=your-licence-keyAdd it.
$ pnpm dlx shadcn@latest add @ballmac-pro/stats-pro-1Need a licence or help with setup?
Usage
import { StatsPro1 } from "@/components/ballmac/blocks/stats-pro-1/stats-pro-1"Dependencies
- npm
- lucide-react
Use with AI
Description list of key figures. Each trend line has a text alternative. With the shadcn MCP server set up (guide), ask your agent:
Add the Ballmac UI Stats Pro 1: big numbers with trend lines (@ballmac-pro/stats-pro-1) to this project with the shadcn MCP, then use it where it fits.
Use it for
- Scale and growth proof
Not for
- A single hero number (use stats-pro-2)
Registry JSON (needs your licence key): https://ui.ballmac.com/r/pro/stats-pro-1.json
Covered by the Ballmac UI Pro license.
More stats blocks
Stats 1: headline metrics with trends
Four large numbers in a hairline grid that count up on scroll, each with a change badge, a small trend line and one line of context. Heading and copy sit above.
Stats Pro 2: ninety-day uptime strip
A large uptime figure computed from ninety daily bars. Move through the days with arrow keys to read what happened on each.
Stats Pro 3: return-on-investment slider
Slide a team size and watch hours saved, money saved and return update. Assumptions are editable props and printed under the result.
Stats Pro 4: customers around the world
A dotted world map beside regions with bars. Choose a region to highlight it and swap the big number.