Bento Asset Grid
Bento-style feature grid: an eyebrow kicker sits over a hairline rule, followed by a two-column heading and paragraph, then four mixed-width image tiles. Each tile floats a small icon-and-label chip over the photo and carries a one-line caption beneath it.
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/bento-asset-grid.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/feature/feature29.tsx instead.
Usage
The file also exports feature29Demo, 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 { Feature29, feature29Demo } from "@/components/blocks/feature/feature29"; export default function Page() { return <Feature29 {...feature29Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | none | Kicker label above the hairline rule. |
| heading | ReactNode | none | Left column heading. |
| description | string | none | Right column paragraph. |
| tiles | BentoTile[] | none | Four (or more) image tiles rendered in the bento grid. |
| className | string | none | Extra classes for the outer section element. |
Types
type AssetChip = { icon: LucideIcon; label: string }; type BentoTile = { photo: { src: string; alt: string }; caption: string; asset: AssetChip; /** Spans two grid columns on larger screens instead of one. */ wide?: boolean; };
Behavior notes
- Purely presentational: there is no client-side state, this is a plain server component.
- Tile width is data-driven: setting `wide: true` on a tile applies `sm:col-span-2` inside the 4-column grid so any tile can be the wide one, not just a fixed position.
- 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.
- Icons are passed directly as a `LucideIcon` prop per tile since this is a server component, not a fixed hardcoded array.
More Feature Blocks
View all →Full-Bleed Workspace Band
Two-column header above a full-bleed image band with a live view switcher, closing on three numbered captions.
Center-Line Journey Timeline
Vertical hairline timeline alternating stages either side, dropping a phone frame on one step.
Figure-Led Evidence Rows
Tall image with a floating before-and-after card, leading into oversized-figure evidence rows.
Staircase Asset Trio
Three image tiles stepping down the page in a staircase, each floating a different live asset.
Sticky Reference List
Sticky heading column beside three labelled groups of checked capabilities, closing on a footnote.
Day Timeline Rows
Hairline rows walking through one working day, stamped with time and a live approval card inline.