Bento Grid
A modular grid layout inspired by Japanese bento boxes that arranges variably sized cards with uniform gaps to establish clear visual hierarchy
Table of Contents
Interactive Playground
Tap or drag to interact with the demoWhat is Bento Grid?
A modular grid layout inspired by Japanese bento boxes that arranges variably sized cards with uniform gaps to establish clear visual hierarchy. It is a core concept in Layout & Responsive within UI / UX.
Core Principles
Named after the compartmentalized trays of a Japanese bento box, a Bento Grid organizes content into asymmetric rectangular tiles separated by consistent gutters. Rather than giving every item equal visual weight, it assigns larger spans (2×2, 2×1) to hero visuals or primary metrics and compact (1×1) cells to supporting details, guiding the reader's eye effortlessly.
Under the hood, CSS Grid's grid-column: span N and grid-row: span N make it straightforward to lock every tile to a shared track system with uniform gaps and rounded corners.
Practical Takeaways
- Keep one clear focus per tile: The strength of a Bento Grid lies in scannability. Cramming multiple charts, paragraphs, and CTAs into a single cell breaks the rhythm—dedicate each compartment to one metric, feature, or micro-interaction.
- Design intentional mobile collapse: Asymmetric multi-column spans rarely scale down cleanly to phones. Collapse to 1–2 columns at small breakpoints and verify that the most important hero tile stays at the top of the flow.
- Unify surface tokens: Vary tile dimensions for hierarchy, but keep padding, border radius, stroke contrast, and typography scales strictly consistent so the composition feels cohesive rather than chaotic.
Notable Examples
- Apple product launch summaries: Presenting silicon benchmarks, battery life, and camera highlights in a single scannable multi-tile overview.
- Linear, Vercel, and Raycast marketing pages: Showcasing interactive product features inside structured dark-mode bento compartments.
- iOS and Android home screen widgets: Modular
2×2,4×2, and4×4blocks that users arrange into personalized dashboards.
Practical Code Snippet
Copy and drop straight into your project.bento-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 160px; gap: 1rem;} .bento-card--hero { grid-column: span 2; grid-row: span 2;} .bento-card--wide { grid-column: span 2;}