Staaarter

Heading Hero About

A large hero-scale heading sits above three heterogeneous zones in one row: a portrait, a short icon values list, and a bordered card pairing a single stat with call-to-action buttons.

By Staaarter Team
About
Docs
Live preview

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/heading-hero-about.json

Prefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/about/about43.tsx instead.

Usage

The file also exports about43Demo, 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 { About43, about43Demo } from "@/components/blocks/about/about43";

export default function Page() {
  return <About43 {...about43Demo} />;
}

Props

PropTypeDefaultDescription
headingstringnoneHero-scale statement, rendered up to text-6xl on larger screens.
portraitMediaSlotImageundefinedPortrait or photo in the first of the three columns; falls back to a placeholder via MediaSlot.
valuesValueItem[]noneShort icon-led list in the middle column.
statStatItemnoneSingle stat shown at the top of the third column's card.
buttonsButtonItem[][]CTA buttons at the bottom of the third column's card.
classNamestringnoneExtra classes for the outer section element.

Types

type ValueItem = { icon: LucideIcon; label: string };

type StatItem = { title: string; value: string };

type ButtonItem = {
  label: string;
  href?: string;
  variant?: "default" | "secondary" | "outline" | "ghost" | "link" | "destructive";
};

Behavior notes

  • The heading is the whole hero, sized up to text-6xl and given text-balance, unlike About1 or About14 where the heading is a modest lead-in above a two-column body.
  • The three-column row deliberately mixes unlike shapes, an image, a plain list, and a bordered stat-plus-CTA card, rather than repeating one card type across columns the way About7's team-card grid does.
  • values takes ValueItem[] with a required `icon: LucideIcon`, the same icon-typing convention as About2, but rendered as a stacked single-line list rather than About2's three-column icon grid.