Two-Up Capability Cards
A feature built from two tall bordered cards. Each stacks an image tile with a live asset badge over a small kicker, an editorial title, a checked list on hairlines, and its own outline action button. Good for contrasting two product capabilities side by side.
Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its button, media-slot dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/two-up-capability-cards.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/feature/feature11.tsx instead.
Usage
The file also exports feature11Demo, the exact props behind the preview above. Spread it to get a working section in one line, then replace it with your own data.
import { Feature11, feature11Demo } from "@/components/blocks/feature/feature11"; export default function Page() { return <Feature11 {...feature11Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | undefined | Small label above the heading. |
| heading | ReactNode | undefined | Optional section heading above the two cards. |
| cards | Feature11Card[] | none | The two (or more) capability cards to render. |
| className | string | none | Extra classes for the outer section element. |
Types
interface Feature11Card { kicker: string; title: ReactNode; image?: { src: string; alt: string }; liveAsset: { label: string; value: string }; items: string[]; action: { label: string; href: string }; }
Behavior notes
- The liveAsset badge on each card's image tile is a static demo value, not a real live feed.
- Each card's action button renders as a plain link (Button with render={<Link/>}); there is no real navigation wired up beyond the href you pass.
- cards renders in a 2-column grid on md and above and stacks to a single column below that; passing more than two cards still works, they simply wrap.
More Feature Blocks
View all →Full-Bleed Workspace Band
Two-column header above a full-bleed image band with a live view switcher, closing on three numbered captions.
Center-Line Journey Timeline
Vertical hairline timeline alternating stages either side, dropping a phone frame on one step.
Figure-Led Evidence Rows
Tall image with a floating before-and-after card, leading into oversized-figure evidence rows.
Staircase Asset Trio
Three image tiles stepping down the page in a staircase, each floating a different live asset.
Sticky Reference List
Sticky heading column beside three labelled groups of checked capabilities, closing on a footnote.
Day Timeline Rows
Hairline rows walking through one working day, stamped with time and a live approval card inline.