Split Image Card with Feature Stack
A two-column split layout: a tall rounded image card fills the left column, and a glass-morphism panel on the right overlaps its edge on large screens, holding a heading, description, a stack of feature rows each with an icon badge, and an optional CTA button.
Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its media-slot, button dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/split-image-card-feature-stack.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/feature/feature80.tsx instead.
Usage
The file also exports feature80Demo, 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 { Feature80, feature80Demo } from "@/components/blocks/feature/feature80"; export default function Page() { return <Feature80 {...feature80Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | undefined | Small label above the heading. |
| heading | string | none | Section heading inside the glass panel. |
| description | string | undefined | Supporting copy under the heading. |
| image | MediaSlotImage | none | Tall image filling the left column. |
| items | Feature80Item[] | none | Stacked feature rows, each with an icon, title, and description. |
| cta | Feature80Cta | undefined | Optional link-styled button rendered at the bottom of the panel. |
| className | string | none | Extra classes for the outer section element. |
Types
interface Feature80Item { icon: LucideIcon; title: string; description: string; } interface Feature80Cta { label: string; href: string; }
Behavior notes
- Plain server component, no client-side state.
- The negative margin that pulls the glass panel over the image edge (lg:-ml-16) only applies on large screens; the two columns stack with normal spacing on mobile.
- The cta is an inert link-styled button when provided, there is no real form submission or navigation logic beyond the href.
- Card icons are real lucide-react components passed by reference, safe here since this is a server component.
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.