LayerwiseLayerwise
  • Features
  • Pricing
  • Templates
  • Docs
DownloadDownload
FeaturesPricingTemplatesDocsAI Website BuilderVibe CodingPersonal Software
DownloadDownload
  1. Glossary
  2. /
  3. Layout

Bento grid

Also called bento layout or bento box layout

A grid of rounded tiles in mixed sizes that fit together like a bento lunch box, often used to show several features at once.

// Spans only apply from sm up; on phones every tile is one cell in one column.
const TILES = [
  {
    title: 'Live preview',
    text: 'See every change while the AI makes it.',
    span: 'sm:col-span-2 sm:row-span-2'
  },
  {
    title: 'Team',
    text: 'Invite collaborators to any project.',
    span: 'sm:row-span-2'
  },
  { title: '12k', text: 'Apps published', span: '' },
  { title: '99.99%', text: 'Uptime last quarter', span: '' },
  {
    title: 'Database',
    text: 'Browse and edit your data.',
    span: 'sm:col-span-2'
  },
  {
    title: 'Deploy',
    text: 'Publish to your own domain.',
    span: 'sm:col-span-2'
  }
];

export function FeatureBento() {
  return (
    <section className='mx-auto grid max-w-6xl auto-rows-[180px] gap-4 p-6 sm:grid-cols-2 lg:grid-cols-4'>
      {TILES.map((tile) => (
        <article
          key={tile.title}
          className={`flex flex-col justify-end rounded-3xl border bg-muted p-6 ${tile.span}`}
        >
          <h3 className='text-lg font-semibold'>{tile.title}</h3>
          <p className='text-sm text-muted-foreground'>{tile.text}</p>
        </article>
      ))}
    </section>
  );
}
Create a bento grid for the features section: 4 columns and 3 rows of 180px with 16px gaps and 24px corner radius. Make "Live preview" a 2×2 tile, "Team" 1×2, "Database" and "Deploy" 2×1, and two 1×1 tiles for quick stats. Drop to 2 columns under 1024px and 1 column under 640px.

Paste into Layerwise or any AI coding tool.

What is Bento grid?

A bento grid packs content into tiles of different sizes that fit together into a neat rectangle: one large tile for the headline feature, wide and tall tiles for supporting ones, and small squares for quick facts. Apple made it popular in product presentations, and it is now common on landing pages and portfolios.

Tile size signals importance, so put the strongest feature in the biggest tile. Keep the corner radius, gaps, and padding the same across tiles, and give each tile one idea: a short title, a line of text, and a visual.

Build it with CSS Grid: set a fixed number of columns and let tiles span cells with grid-column: span 2 or grid-row: span 2. On phones, drop to one or two columns so tiles stay readable. grid-auto-flow: dense fills holes automatically, but it can show tiles in a different order than the HTML, which confuses keyboard and screen reader users.

Often confused with

Masonry layout
A masonry layout stacks items of any height into columns with no row lines. A bento grid uses planned tile sizes that line up on a shared grid.

Related terms

All terms

CSS Grid

A CSS layout system that places items on rows and columns at once, so content lines up in both directions.

Card

A bordered, rounded container that groups one item’s image, title, details, and actions so it can sit in a list or grid with others.

Masonry layout

A layout of columns where items of different heights stack tightly with no row lines, like stones in a wall or a Pinterest board.

Layout animation

An animation that smoothly moves and resizes elements when the layout changes, such as list items gliding to new spots after a sort or filter.

Build it with Layerwise

Describe your app, watch it run in a live preview, and publish it with a database, storage, and sign-in built in.

DownloadDownloadRead the docs
LayerwiseLayerwise

Build full-stack web apps in minutes with AI.

Product

  • Features
  • Pricing
  • Download
  • Templates

Solutions

  • AI Website Builder
  • Vibe Coding
  • Personal Software

Resources

  • Documentation
  • Changelog
  • Blog
  • Vibe Coding Glossary
  • llms.txt
  • llms-full.txt

Company

  • About
  • Contact

Legal

  • Privacy
  • Analytics Privacy
  • Terms
  • Security
  • Abuse

© 2026 Layerwise. All rights reserved.

Entrances & exits

  • Fade in
  • Slide in
  • Scale in
  • Pop in
  • Blur in
  • Reveal animation
  • Enter and exit animations

Timing & sequencing

  • Duration
  • Delay
  • Keyframes
  • Tweening
  • Stagger
  • Orchestration
  • Fill mode
  • Stepped animation
  • Looping animation
  • Yoyo animation

Easing

  • Easing
  • Linear easing
  • Ease-in
  • Ease-out
  • Ease-in-out
  • Cubic-bezier
  • Asymmetric easing
  • Overshoot easing

Springs & physics

  • Spring animation
  • Stiffness
  • Damping
  • Mass
  • Bounce
  • Velocity
  • Momentum
  • Interruptible animation
  • Rubber-banding

Transforms

  • Translate
  • Scale
  • Rotate
  • Skew
  • 3D flip
  • Perspective
  • Transform origin
  • Origin-aware animation

State transitions

  • Crossfade
  • Morph
  • Shared element transition
  • Layout animation
  • Height auto animation
  • Direction-aware transition
  • Continuity transition
  • Page transition
  • View Transitions API

Scroll effects

  • Scroll reveal
  • Scroll-driven animation
  • Parallax scrolling
  • Scrollytelling
  • Scroll pinning
  • Horizontal scroll section
  • Scroll progress bar
  • Scroll snap
  • Smooth scrolling

Interaction feedback

  • Hover effect
  • Press feedback
  • Ripple effect
  • Shake animation
  • Hold to confirm
  • Drag gesture
  • Drag to reorder
  • Swipe to dismiss
  • Pull to refresh
  • Magnetic button
  • Custom cursor
  • 3D tilt card
  • Spotlight card

Text effects

  • Typewriter effect
  • Text scramble
  • Split text animation
  • Text morph
  • Rotating words
  • Gradient text
  • Shimmer text
  • Number ticker
  • Tabular numbers
  • Underline animation

Loops & ambient motion

  • Marquee
  • Pulse animation
  • Float animation
  • Orbit animation
  • Idle animation
  • Particle background
  • Border beam
  • Confetti
  • Animated gradient

Visual effects

  • Blur
  • Clip-path
  • Mask
  • Before/after slider
  • SVG line drawing
  • Lottie animation

Motion principles

  • Purposeful animation
  • Anticipation
  • Follow-through
  • Squash and stretch
  • Perceived performance
  • Frequency of use
  • Spatial consistency
  • Reduced motion

Animation performance

  • Frame rate (FPS)
  • Jank
  • GPU acceleration
  • will-change
  • Layout thrashing

Layout

  • Hero section
  • Above the fold
  • Sticky header
  • Sidebar
  • Bento grid
  • Card
  • Flexbox
  • CSS Grid
  • Padding vs margin
  • Responsive design
  • Container
  • Masonry layout
  • Split screen
  • Z-index
  • Overflow

Components

  • Button variants
  • Modal
  • Drawer
  • Popover
  • Tooltip
  • Dropdown menu
  • Context menu
  • Toast notification
  • Tabs
  • Segmented control
  • Accordion
  • Carousel
  • Command palette
  • Combobox
  • Toggle switch
  • Checkbox
  • Radio button
  • Date picker
  • Breadcrumb
  • Pagination
  • Infinite scroll
  • Badge
  • Avatar stack
  • Empty state
  • Skeleton screen
  • Spinner
  • Progress bar
  • Data table
  • Stepper
  • Floating label
  • Inline validation
  • Alert banner
  • Tag input

States & patterns

  • Interaction states
  • Focus ring
  • Loading state
  • Optimistic UI
  • Debounce
  • Lazy loading
  • Dark mode
  • Micro-interaction
  • Affordance
  • Undo
  • Drag and drop
  • Keyboard shortcut

Visual styles

  • Glassmorphism
  • Liquid glass
  • Neumorphism
  • Claymorphism
  • Neo-brutalism
  • Skeuomorphism
  • Flat design
  • Mesh gradient
  • Aurora background
  • Grain texture
  • Glow effect
  • Drop shadow
  • Border radius
  • Grid background
  • Typographic hierarchy
  • Accent color
  • Color contrast

Vibe coding & AI

  • Vibe coding
  • Prompt
  • Context window
  • Token
  • AI agent
  • Tool call
  • Hallucination
  • Diff
  • Live preview
  • Checkpoint
  • Git commit
  • Deploy
  • Frontend and backend
  • API
  • Database
  • Rules file
  • MCP
  • Plan mode
  • Visual edit
Live preview
A latte with leaf art in a white cup
Database
Team
99.9%Uptime
Secure
Deploy