The evening practice
Three years ago we noticed that the people who most needed a room were the ones who could not leave work to reach one. So we stayed late.
A split statistics section: a portrait photograph drifting inside its frame on the left, and on the right a serif heading that settles in word by word, an intro, three ruled serif figures that count up as they enter the viewport, and a pill action.
A story told with three figures: a portrait photograph drifting inside its frame beside the heading, a paragraph, a ruled list where each number sits opposite its explanation, and a pill.
Upgrade to Pro
Pro blocks install through the shadcn CLI with your license key and ship their full source. Docs and live previews stay open to everyone, so you can read every block's details first.
Swap YOUR_EMAIL and YOUR_KEY for the email and license key on your account. Find your license key on your account page.
Radix flavor
npx shadcn add "https://ui.beste.co/r/stats77?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/stats77?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/stats77.tsx plus the button22 sliding-marker pill and the text1 word stagger it uses.
The installed file exports stats77Demo alongside the block: the exact props behind the preview above. Spread it to get a working stats section in one line.
import { Stats77, stats77Demo } from "@/components/beste/block/stats77";
export default function Page() {
return <Stats77 {...stats77Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Stats77 } from "@/components/beste/block/stats77";
export default function Page() {
return (
<Stats77
eyebrow="The evening practice"
heading="Opened for the hour nobody else had."
description="The people who most needed a room were the ones who could not leave work to reach one."
button={{ label: "Reserve an evening hour", href: "/evenings", tone: "outline" }}
image={{ src: "/photos/dock.jpg", alt: "A wooden dock reaching into a still lake at dusk" }}
figures={[
{ value: 1180, suffix: "+", label: "Evening sessions since 2023" },
{ value: 64, suffix: "%", label: "Had never tried therapy before" },
]}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
eyebrow | string | – | Small-caps line above the heading |
heading | string | – | Section heading, rendered as an h2 through Text1 |
description | string | – | Paragraph under the heading |
button | ActionButton | – | Pill action under the figures |
image | { src: string; alt: string } | – | Photograph in the left column |
figures | Figure[] | [] | Ruled figure rows |
className | string | – | Extra classes for the outer <section> |
type Figure = {
value: number;
suffix?: string;
label: string;
};
type ActionButton = {
label: string;
href: string;
tone?: "primary" | "light" | "dark" | "outline";
};10rem first track from md, so a long explanation wraps beside its number instead of under it and every figure starts on the same vertical rule.items-baseline, so a large serif numeral and a two-line label sit on the same first line.useInView set to once so scrolling back does not replay it, and is printed in tabular-nums with thousands grouping.-10% to 10% against a 1.2 scale and clears from blur(24px) on decode, with a complete check on mount for cached files.0.6s, after the last figure has arrived, so it does not appear mid-count.image the copy column keeps its grid position rather than stretching across the section.stats76
An impact section where a serif heading settles in word by word beside a pill action, then four ruled columns of serif figures count up from zero as they enter the viewport, each with a small-caps label and a line of context, under a slowly drifting soft light.
stats71
A results section that commits to one enormous light figure, reads it back as a statement under a hairline, qualifies it with three smaller footnotes, and closes on a captioned full-bleed photograph.
stats5
Two-column layout with heading and description on the left, 2x2 stats grid on the right. Perfect for pairing narrative with key metrics.