StacklyUI
Component

Bento Grid

A dense, responsive grid whose cells can span multiple columns and rows. Each card lifts on hover and reveals a pointer-tracked glow. Collapses to a single column on small screens.

Featured

Wide cell

Cells span multiple columns and rows to build an editorial rhythm.

Compact

Tall

Hover to lift.

Detail

One

Pointer-tracked glow.

Detail

Another wide one

Fully responsive — collapses to a single column on mobile.

Installation

Registry CLI — copy the source straight into your project:

$pnpm dlx shadcn@latest add @stacklyui/bento-grid

Or install the package and import it:

$pnpm add @stacklyui/ui motion

Usage

Use the built-in eyebrow/title/description slots, or pass children for full control. Add a background layer with the media prop. Set colSpan/rowSpan per card and columns on the grid.

Props

PropTypeDefaultDescription
columnsnumber3Column count on large screens (BentoGrid).
colSpannumber1Columns this card spans (BentoCard).
rowSpannumber1Rows this card spans (BentoCard).
eyebrow / title / descriptionReactNodeStandard content slots for a BentoCard.
mediaReactNodeVisual rendered behind the card's text content.