Skip to content

MarketingLumen Halo

Stats BandProv1.0.0

Three or four numbers that make the case, each with its label and a line of context. They count up once as the band comes into view, without the row shifting; screen readers and reduced motion get the final numbers straight away.

.md
pnpm dlx shadcn@latest add @beautiful-ui-pro/lumen-stats-band

Needs your registry key. Your components.json style picks the Base UI or Radix build: radix-*, new-york and default get Radix, base-* gets Base UI.

Styles didn't apply?

The CLI adds the styles to the CSS file named in components.json (tailwind.css). Check that it points at your global stylesheet, that the project uses Tailwind CSS v4, and that the file is imported in your root layout. Installed by hand: paste styles.css into that file.

Set up the Beautiful UI registry

Free pieces install from their URL with no setup (that URL gives the Base UI build; Radix projects use /r/radix-nova/<name>.json, or add the registries below and the CLI picks your build). Pro pieces need the registries below and BEAUTIFUL_UI_TOKEN in .env.local.

components.json
{
  "registries": {
    "@beautiful-ui": "https://beautiful-ui.dev/r/{style}/{name}.json",
    "@beautiful-ui-pro": {
      "url": "https://beautiful-ui.dev/r/pro/{style}/{name}.json",
      "headers": { "Authorization": "Bearer ${BEAUTIFUL_UI_TOKEN}" }
    }
  }
}

MCP server

claude mcp add --transport http beautiful-ui https://beautiful-ui.dev/api/mcp
Catalog for agents: /llms.txt

Usage

Import it and pass your content. The props that matter most are listed next.

Example
import { StatsBand } from "@/components/ui/lumen/blocks/stats-band";

export function ByTheNumbers() {
  return (
    <StatsBand
      title="Teams rely on it every day"
      stats={[
        { id: "teams", value: 12400, label: "Teams", notation: "compact", suffix: "+" },
        { id: "uptime", value: 99.99, label: "Uptime last year", suffix: "%" },
        { id: "p95", value: 84, label: "Median page load", suffix: " ms" },
        { id: "countries", value: 41, label: "Countries" },
      ]}
      footnote="As of September 2026."
    />
  );
}

Props

  • stats–

    Stat[]

    Stat = { id, value, label, prefix?, suffix?, decimals?, notation?: "standard" | "compact", detail? }.

  • title / footnote–

    ReactNode / ReactNode

    A heading above, and a source or date below.

  • locale–

    string

    How numbers are written.

  • motion"full"

    "full" | "off"

    Count up on first view; reduced motion always shows the final numbers.

Source

components/ui/lumen/blocks/stats-band.tsx

This component is included with Pro.

Try the live preview above. Get Pro to install the source.