Staaarter

Value Prop Trio

Value proposition section: an eyebrow kicker over a hairline rule, a two-column heading and paragraph, then three equal-width portrait image tiles. Each tile floats a small icon-and-label chip over the photo, with a title and description printed beneath it.

By Staaarter Team
Feature
Docs
Live preview

Docs

Installation

A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its media-slot dependencies and any missing npm packages, and installs them straight into your project.

npx shadcn add https://staaarter.com/r/value-prop-trio.json

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

Usage

The file also exports feature30Demo, 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 { Feature30, feature30Demo } from "@/components/blocks/feature/feature30";

export default function Page() {
  return <Feature30 {...feature30Demo} />;
}

Props

PropTypeDefaultDescription
eyebrowstringnoneKicker label above the hairline rule.
headingReactNodenoneLeft column heading.
descriptionstringnoneRight column paragraph.
tilesPortraitTile[]noneThree portrait image tiles rendered side by side.
classNamestringnoneExtra classes for the outer section element.

Types

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

type PortraitTile = {
  photo: { src: string; alt: string };
  asset: AssetChip;
  title: string;
  description: string;
};

Behavior notes

  • Purely presentational: there is no client-side state, this is a plain server component.
  • All three tiles render at equal width in a `sm:grid-cols-3` grid, each with a 3:4 portrait aspect ratio.
  • The floating asset chip is a decorative icon-and-label pill absolutely positioned over the top-left of each photo; it does not reflect live data.
  • Passing more or fewer than three tiles still works layout-wise, the grid simply reflows, but the brief's design intent is exactly three.