Feature with Split Header and Service Cards
A two-column header (badge, heading with an accent-colored highlight on its last phrase, and an intro paragraph on the left, a supporting paragraph on the right), followed by a three-card grid of services, each with an outlined icon and a learn-more link.
Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its button, badge dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/feature-split-header-service-cards.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/feature/feature170.tsx instead.
Usage
The file also exports feature170Demo, 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 { Feature170, feature170Demo } from "@/components/blocks/feature/feature170"; export default function Page() { return <Feature170 {...feature170Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| badge | string | none | Optional small badge above the heading. |
| headingLead | string | none | Heading text before the accent-highlighted phrase. |
| headingHighlight | string | none | Heading phrase rendered with the accent (primary-colored) highlight. |
| intro | string | none | Intro paragraph in the left column, under the heading. |
| supporting | string | none | Supporting paragraph in the right column. |
| services | ServiceCard[] | none | Three (or more) service cards below the header. |
| className | string | none | Extra classes for the outer section element. |
Types
type ServiceCard = { icon: LucideIcon; title: string; description: string; href: string; };
Behavior notes
- Fully static server component, no client-side state.
- The accent highlight is a plain `<span className="text-primary">` wrap around `headingHighlight`, not a separately styled component.
- Each service card's "Learn more" is an inert `<Link>` styled as a link-variant button, not a real navigation action.
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.