Selected Work Bento
Work mosaic on a six-column track mixing photographic tiles that carry their caption inside on a gradient scrim with a soft statement tile and an inverted figure tile, the lead project spanning four columns and two rows.
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/selected-work-bento.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/bento/bento3.tsx instead.
Usage
The file also exports bento3Demo, 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 { Bento3, bento3Demo } from "@/components/blocks/bento/bento3"; export default function Page() { return <Bento3 {...bento3Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| works | WorkItem[] | none | Project list rendered as photographic tiles. The item flagged featured (or the first item if none is flagged) becomes the four-column, two-row lead tile; the rest render as two-column tiles. |
| statement | StatementTile | none | Soft tile with a heading and short paragraph. |
| figure | FigureTile | none | Inverted (dark) tile with a big figure and a caption. |
| className | string | none | Extra classes for the outer section element. |
Types
interface WorkItem { title: string; category: string; photo: { src: string; alt: string }; featured?: boolean; } interface StatementTile { heading: ReactNode; body: string; } interface FigureTile { figure: string; caption: string; }
Behavior notes
- Purely presentational: no local state, no click-through to a real case study page.
- The lead tile is picked with `works.find((w) => w.featured) ?? works[0]`, so exactly one work item is always promoted to the large tile even if none is explicitly flagged featured.
- The grid is tuned for three work items (one lead plus two smaller); passing more than three will still render correctly but will overflow the neatly-packed six-column, three-row layout the demo shows.
More Bento Blocks
View all →studio-bento-grid
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 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.
service-bento-with-figure
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
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.
object-study-bento
Object Study Bento
Product mosaic pairing a tall hero photo, a spec sheet, two macro detail tiles, and a closing price banner.
studio-people-bento
Studio People Bento
Team mosaic of portrait tiles captioned with name and role, interleaved with a quote tile and a closing tenure stat.