Four Cards With Centered Icon
A feature section outlining four steps or pillars of a service, laid out as four equal-width columns. Each column centers a large circular icon badge (its accent color drawn from a closed per-card palette) with a small numbered tag in the corner, followed by a bold title and a short description.
Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/four-cards-centered-icon-accent.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/feature/feature172.tsx instead.
Usage
The file also exports feature172Demo, 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 { Feature172, feature172Demo } from "@/components/blocks/feature/feature172"; export default function Page() { return <Feature172 {...feature172Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | undefined | Small label above the heading. |
| heading | string | none | Section heading, centered above the steps. |
| description | string | undefined | Supporting paragraph under the heading. |
| steps | Feature172Step[] | none | The four steps or pillars, each with its own icon and accent color. |
| className | string | none | Extra classes for the outer section element. |
Types
type Feature172Accent = | "emerald" | "primary" | "foreground" | "rose" | "blue" | "amber" | "violet" | "sky" | "orange" | "teal"; interface Feature172Step { icon: LucideIcon; title: string; description: string; accent: Feature172Accent; }
Behavior notes
- This is a plain Server Component with no interactivity, the numbered corner tag is a static label, not a step tracker with real state.
- The accent color is a closed union type mapped to a fixed lookup of Tailwind classes, callers cannot pass an arbitrary color string.
- Distinct from the similarly-titled four-card icon block elsewhere in this category: this variant uses a large circular badge with a numbered corner tag and a per-card accent color, laid out for a 4-step process rather than a general feature list.
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.