Hero Overlay & Suite Cards
A dark-overlay hero image carries the heading and description, followed by a grid of feature or tier cards, each with an image and two small badges (for example capacity and duration). Suited to hospitality- and service-style brands.
Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its badge, media-slot dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/hero-overlay-suite-cards.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/about/about31.tsx instead.
Usage
The file also exports about31Demo, 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 { About31, about31Demo } from "@/components/blocks/about/about31"; export default function Page() { return <About31 {...about31Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| heading | string | none | Heading layered over the hero image. |
| description | string | undefined | Body copy layered over the hero image, below the heading. |
| hero | MediaSlotImage | undefined | Full-bleed hero image behind a dark gradient overlay. |
| suites | SuiteCard[] | none | Cards below the hero, each with an image, description, and up to two badges. |
| className | string | none | Extra classes for the outer section element. |
Types
type SuiteCard = { name: string; description: string; image?: { src: string; alt: string }; badges: string[]; };
Behavior notes
- Like About11, the hero uses the same bottom-anchored gradient overlay pattern for its heading, but About31 has no avatar row or stat row inside the hero itself; that content moves entirely into the card grid below.
- Only the first two entries of each card's badges array render, since the layout reserves a fixed two-badge row (for example capacity and duration) per card rather than the open-ended attribute list About29's product cards use.
- The card grid is visually closer to About18's office grid in its 3-column bordered-card shape, but About31's cards lead with an image at the top instead of an icon chip, and pair badges instead of a single icon-plus-label row.
More About Blocks
View all →team-mission
Team & Mission
Two-column about section with mission statement, company stats, and team member grid.
values-with-team-photo
Values with Team Photo
Full-width photo with a three-column values grid below.
timeline-milestones
Timeline & Milestones
Company stats on the left and a vertical timeline of milestones on the right.
founder-quote-team
Founder Quote & Team
Founder blockquote with avatar, followed by a horizontal team member row.
image-text-split
Image & Text Split
Tall image on the left, company story, inline stats, and CTAs on the right.
numbered-principles
Numbered Principles
Heading on the left and numbered company principles on the right.