Stats

Minimal Stats Row

Plain stats: a heading and description above four figures with labels, each marked by a thin left rule. Theme tokens only, light and dark.

Free, MIT licenseOpen in Browse
import { Heading } from "@/components/editorial/heading"
import {
  Section,
  SectionContent,
  SectionDescription,
  SectionHeader,
  SectionTitleGroup,
} from "@/components/editorial/section"
import {
  Stat,
  StatGroup,
  StatLabel,
  StatValue,
} from "@/components/editorial/stats"

// The copy: change text here, not in the markup.
const COPY = {
  title: "Orbcore in numbers",
  body: "A year of releases planned, reviewed and handed off in one place.",
} as const

const STATS = [
  { value: "3,400+", label: "Teams planning releases" },
  { value: "1.2M", label: "Review comments closed" },
  { value: "42", label: "Countries" },
  { value: "99.98%", label: "Uptime this year" },
] as const

export default function MinimalStats01() {
  return (
    <Section>
      <SectionHeader>
        <SectionTitleGroup>
          <Heading>{COPY.title}</Heading>
        </SectionTitleGroup>
        <SectionDescription>{COPY.body}</SectionDescription>
      </SectionHeader>
      <SectionContent>
        <StatGroup cols={4}>
          {STATS.map((stat) => (
            <Stat key={stat.label} variant="rule">
              <StatValue>{stat.value}</StatValue>
              <StatLabel className="text-muted-foreground">
                {stat.label}
              </StatLabel>
            </Stat>
          ))}
        </StatGroup>
      </SectionContent>
    </Section>
  )
}

Installation

pnpm dlx shadcn add @01orbital/minimal-stats-01
npx shadcn add @01orbital/minimal-stats-01
yarn shadcn add @01orbital/minimal-stats-01
bunx --bun shadcn add @01orbital/minimal-stats-01

Free under the MIT license. Add the @01orbital registry to components.json once (install guide), then run the command.

It lands at components/blocks/stats/minimal-stats-01/index.tsx, as source you own and edit.

Usage

import MinimalStats01 from "@/components/blocks/stats/minimal-stats-01"

export default function Example() {
  return <MinimalStats01 />
}

Dependencies

Registry pieces it installs with it: