Stats Pro 5: us against the averagePRO
Paired bars for each metric that grow when scrolled into view, with a how-many-times badge and a visible source line.
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-5Need a licence or help with setup?
Usage
import { StatsPro5 } from "@/components/ballmac/blocks/stats-pro-5/stats-pro-5"Dependencies
- npm
- motion
- Registry
- @ballmac/badgeshadcn/utils
Use with AI
Honest comparison: handles lower-is-better metrics and always shows the source line. With the shadcn MCP server set up (guide), ask your agent:
Add the Ballmac UI Stats Pro 5: us against the average (@ballmac-pro/stats-pro-5) to this project with the shadcn MCP, then use it where it fits.
Use it for
- Backing a claim with data
Not for
- Claims you cannot source
Registry JSON (needs your licence key): https://ui.ballmac.com/r/pro/stats-pro-5.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 1: big numbers with trend lines
Four counting numbers with a change note and a sparkline each, set in a single bordered grid.
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.