Skip to Content

Bento Grid

A layout primitive that arranges child elements into a responsive, masonry-style grid. 

With specific rows

With specific columns

Customizing

globals.css
:root { --ex-bento-grid-gap-x: calc(var(--spacing) * 2); --ex-bento-grid-gap-y: calc(var(--spacing) * 2); --ex-bento-grid-min-child-width: 0; }

API

Bento Grid

ElementSelector
BentiGrid.ex-bento-grid
PropTypeDefault
asElementTypediv
asChildbooleanfalse

Bento Grid Item

ElementSelector
BentiGrid.Item.ex-bento-grid-item
PropTypeDefault
asElementTypediv
asChildbooleanfalse
Last updated on