Staaarter

Phase Bento With Photographs

Process mosaic where the opening phase fills a two-row photographic tile with its eyebrow, explanation, and duration on the scrim, beside an inverted summary tile and three smaller phase tiles carrying only their label and length.

By Staaarter Team
Bento
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/phase-bento-with-photographs.json

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

Usage

The file also exports bento5Demo, 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 { Bento5, bento5Demo } from "@/components/blocks/bento/bento5";

export default function Page() {
  return <Bento5 {...bento5Demo} />;
}

Props

PropTypeDefaultDescription
openingPhaseOpeningPhasenonePhotographic tile spanning two rows, with an eyebrow, explanation, and duration overlaid on the bottom scrim.
summarystringnoneShort paragraph shown in the inverted (dark) summary tile.
phasesPhaseItem[]noneExactly three soft tiles, each showing only a phase label and its duration.
classNamestringnoneExtra classes for the outer section element.

Types

interface OpeningPhase {
  eyebrow: string;
  explanation: string;
  duration: string;
  photo: { src: string; alt: string };
}

interface PhaseItem {
  label: string;
  duration: string;
}

Behavior notes

  • Purely presentational: no local state, no real process tracker or progress indicator behind the tiles.
  • The layout is a fixed 4-column by 3-row bento grid tuned for exactly three `phases` items; a different count will still render but won't fill the grid as evenly.
  • The opening phase's photo tile and the three phase tiles are all static, always-visible content, not a step-by-step wizard, so nothing is highlighted as 'current'.