Skip to content

Block 19 of 297

Bento Grid

An asymmetric mosaic of five to seven small, wide and tall tiles with optional photos, tones and links.

Puck key
BentoGridBlock
Export
bentoGridBlock
React component
<BentoGrid />
Path
components/puck/bento-grid-block.tsx
Dependencies
None
License
MIT

About this block

When to use it, how to write for it, and what to change in the code.

What it's for

An uneven mosaic of up to seven tiles under a heading and intro. Each tile picks a size (small, wide or tall) and a tone (light, accent or dark) and can carry a photo, kicker, short text and link. Wide tiles place their photo beside the text from tablet width. On phones every tile stacks in a single column.

  • A season-at-a-glance page for a parks or recreation department
  • A home page section that mixes news, programs and a key figure
  • An overview of an organization's departments or services
Writing the content
  • Five to seven tiles fill the mosaic best; the editor allows one to seven. Mix one or two Wide or Tall tiles with Small ones.
  • Set Tone to Accent or Dark on one or two tiles at most, so they stand out.
  • Put a short label or figure in Kicker, like "New in 2026" or "Free"; it hides when blank.
  • Wide tiles show the photo beside the text and Small or Tall tiles show it above, so pick photos that crop well either way.
Accessibility
  • Tile titles are headings one level below the section heading, and tiles are list items (WCAG 1.3.1).
  • Dense grid packing can show a tile earlier on desktop than its source position. Screen reader and tab order follow the editor order, so keep that order sensible.
  • Accent and dark tiles switch link styles to white underlined text with a white focus outline, so links stay visible on each tone.
Customizing the code
  • Tile spans are in sizeClass on a six-column desktop track: small lg:col-span-2, wide lg:col-span-4, tall two columns by two rows.
  • Tone colors live in the toneClass map; the accent tone is bg-indigo-600.

Editor fields

What content editors see in the P1 sidebar when they select this block.

  • Eyebrowtext
  • Headingtext
  • Heading levelselect
  • Introtextarea
  • Tilesarray