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/object-study-bento.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/bento/bento6.tsx instead.
Usage
The file also exports bento6Demo, 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 { Bento6, bento6Demo } from "@/components/blocks/bento/bento6"; export default function Page() { return <Bento6 {...bento6Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | none | Small label above the caption in the hero photo's scrim, e.g. "Object Study". |
| caption | string | none | Headline in the hero photo's scrim. |
| photo | MediaSlotImage | none | Hero photo; spans two rows and renders a placeholder when omitted. |
| specs | SpecItem[] | none | Rows in the tall specification tile, rendered as a definition list. |
| macros | MacroTile[] | none | Square detail tiles; each carries its own caption below the image, not on a scrim. |
| figure | FigureStat | none | Closing full-width inverted tile, e.g. a price or a materials count. |
| className | string | none | Extra classes for the outer section element. |
Types
type SpecItem = { label: string; value: string }; type MacroTile = { photo: MediaSlotImage; caption: string; subtitle?: string; }; type FigureStat = { value: string; label: string };
Behavior notes
- Purely presentational: the spec sheet, macro captions, and closing figure are all static demo copy, not derived from any real product database.
- The macro tiles use the caption-inside pattern (image on top, plain text below) rather than a scrim overlay, distinguishing them from the hero tile so the two photographic treatments read as intentionally different, not inconsistent.
- The closing figure tile spans the full grid width regardless of how many spec rows or macro tiles are passed, since it starts a new row after the others fill the grid.
More Bento Blocks
View all →Studio Bento Grid
A hand-tiled monochrome bento grid mixing a statement, a stat, an image, a quote, and a CTA into one composition.
Studio Summary Bento
Studio mosaic whose lead tile floats a mood-board media piece over a dotted field, beside a photo tile, an inverted figure tile, a quote tile, and a CTA tile.
Selected Work Bento
Work mosaic on a six-column track mixing captioned photo tiles with a soft statement tile and an inverted figure tile, the lead project spanning four columns and two rows.
Service Bento With Figure
Service mosaic whose lead tile floats a photo strip over a dotted field, beside a captioned photo tile, an inverted figure tile, and three soft icon tiles.
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.
Studio People Bento
Team mosaic of portrait tiles captioned with name and role, interleaved with a quote tile and a closing tenure stat.