Ballmac UI home

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.

Open in v0 (opens in a new tab)

Installation

$ pnpm dlx shadcn@latest add @ballmac/stats-1

Usage

Example: stats-1-demo.tsx
import { Stats1 } from "@/components/ballmac/blocks/stats-1/stats-1"

export default function Stats1Demo() {
  return <Stats1 />
}

Dependencies

Use with AI

Social proof as numbers. Pass stats=[{ label, value, prefix?, suffix?, decimals?, delta?, trend?, trendLabel?, note? }]. With the shadcn MCP server set up (guide), ask your agent:

Add the Ballmac UI Stats 1: headline metrics with trends (@ballmac/stats-1) to this project with the shadcn MCP, then use it where it fits.

Use it for

  • Under a hero or logo cloud as proof
  • Company and about pages

Not for

  • Live product dashboards (use stat-card or kpi-row)
  • Numbers you cannot back up

Registry JSON: https://ui.ballmac.com/r/stats-1.json

Free to use in personal and commercial projects.