
Plain stats: a heading above three large figures on filled panels, each with a label. Theme tokens only, light and dark.
blocks/stats/minimal-stats-02/index.tsx
import { Heading } from "@/components/editorial/heading"
import {
Section,
SectionContent,
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: "Faster releases, fewer meetings",
} as const
const STATS = [
{ value: "38%", label: "Shorter time from plan to release" },
{ value: "10 min", label: "Average Monday meeting" },
{ value: "4.8 / 5", label: "Rating from 900 reviews" },
] as const
export default function MinimalStats02() {
return (
<Section>
<SectionHeader>
<SectionTitleGroup>
<Heading>{COPY.title}</Heading>
</SectionTitleGroup>
</SectionHeader>
<SectionContent>
<StatGroup cols={3}>
{STATS.map((stat) => (
<Stat key={stat.label} variant="card">
<StatValue className="text-5xl/none">{stat.value}</StatValue>
<StatLabel className="text-muted-foreground">
{stat.label}
</StatLabel>
</Stat>
))}
</StatGroup>
</SectionContent>
</Section>
)
}