Three use cases as image and text rows, each numbered and carrying a story, two ruled outcome figures and its own outline pill link; pictures stay top-aligned and the side only alternates from lg, so a tablet keeps every image at the top left.
Three use cases told as alternating image and text rows. Each is numbered and carries a story, two ruled outcome figures and its own outline pill link, with the image side flipping on every second row so the page keeps a rhythm without repeating a layout.
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/usecase45?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/usecase45?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/usecase45.tsx plus the badge7 eyebrow and button12 pill button it uses.
The installed file exports usecase45Demo alongside the block: the exact props behind the preview above. Spread it to get a working scenario section in one line.
import { Usecase45, usecase45Demo } from "@/components/beste/block/usecase45";
export default function Page() {
return <Usecase45 {...usecase45Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Usecase45 } from "@/components/beste/block/usecase45";
export default function Page() {
return (
<Usecase45
badge={{ label: "Where it fits" }}
heading="The same practice, doing three different jobs."
description="Each started as a single request and turned into a longer relationship."
scenarios={[
{
index: "01",
title: "A press that needed readers, not a rebrand",
description: "We rebuilt the reading order first and only then drew anything.",
image: { src: "/work/press.jpg", alt: "Open print publication" },
results: [
{ title: "Catalogue completion", value: "Doubled" },
{ title: "Print run", value: "12,000 copies" },
],
button: { label: "Read the case", href: "/work/press" },
},
]}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
badge | { label: string } | – | Eyebrow label rendered as a Badge7 |
heading | string | – | Section heading in the left column |
description | string | – | Supporting paragraph, right-aligned from md up |
scenarios | Scenario[] | [] | One alternating row per use case |
className | string | – | Extra classes for the outer <section> |
type Scenario = {
index: string;
title: string;
description: string;
image: { src: string; alt: string };
results: ScenarioResult[];
button: ActionButton;
};
type ScenarioResult = {
title: string;
value: string;
};
type ActionButton = {
label: string;
href: string;
};index % 2 === 1 && "lg:[&>*:first-child]:order-last", so the DOM order stays image-then-text for every row and only the visual order alternates; a screen reader hears the same sequence throughout.md:items-start, so a short picture sits at the top of its row rather than floating in the middle of a taller text column, and the alternation only starts at lg: on a tablet every image stays top left.index is a string, not a number, so a row can read 01, A or Case 4 and the block never reformats or renumbers it.button, since these usually deep-link to different case studies; the tone is fixed to outline so no row competes with the page's primary CTA.dt/dd pairs on their own border-t rules, matching the ruled treatment used for figures across the set rather than a boxed stat card.aspect-[4/3] box with object-cover and no hover effect, so any source crop works and nothing moves under the pointer.usecase41
A use-case section with an eyebrow over a hairline rule, a two-column heading, and three bordered role cards with an icon chip, a role label, a title, a description, and an arrow link.
usecase51
Two picture-led routes side by side, each with an eyebrow, title, dotted-rule expectations list and its own pill CTA, separated on desktop by a small pill divider sitting between the columns.
usecase1
Tab-based use case section with images, descriptions, and feature checklists that collapse to accordion on mobile. Perfect for showcasing how different teams or departments use your product.
usecase2
Responsive grid of use case cards with hover effects, images, descriptions, and feature checklists. Perfect for displaying solutions for different industries or customer segments.