
Plain stats: a heading and description above four figures with labels, each marked by a thin left rule. Theme tokens only, light and dark.
blocks/stats/minimal-stats-01/index.tsx
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>
)
}