Staaarter

Overlapping Material Collage

A feature split pairing a three-image collage, where a square crop overlaps the tall frame behind a background-coloured edge, with a statement and a ruled key-value list of material facts.

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/overlapping-material-collage.json

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

Usage

The file also exports feature17Demo, 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 { Feature17, feature17Demo } from "@/components/blocks/feature/feature17";

export default function Page() {
  return <Feature17 {...feature17Demo} />;
}

Props

PropTypeDefaultDescription
eyebrowstringundefinedSmall uppercase label above the statement.
statementstringnoneLarge statement sentence beside the collage.
descriptionstringundefinedSupporting paragraph under the statement.
tallPhoto{ src: string; alt: string }noneBackground tall-frame photo in the collage.
squarePhoto{ src: string; alt: string }noneSquare-crop photo overlapping the bottom-right of the tall frame.
accentPhoto{ src: string; alt: string }noneSmall accent photo overlapping the top-left, hidden below sm.
factsMaterialFact[]noneRuled key-value list of material facts.
classNamestringnoneExtra classes for the outer section element.

Types

type MaterialFact = {
  label: string;
  value: string;
};

Behavior notes

  • Purely presentational: no client-side state.
  • The square and accent photos overlap the tall frame using absolute positioning with a border-background border, creating the background-coloured edge described in the brief; the accent photo is hidden on mobile to avoid crowding the collage at narrow widths.
  • facts renders as a divide-y definition list; any number of entries is supported.