Bento Grid

Apple-style bento grid layout with configurable spans and gap sizes.

cardsgridbentolayout

Installation

Terminalbash
npx motion-primitives-website add bento-grid

Usage

bento-grid.tsxtsx
import { BentoGrid, BentoGridItem } from "@/components/cards/bento-grid";

<BentoGrid>
  <BentoGridItem title="Feature" description="Description" />
</BentoGrid>

Props

PropTypeDefaultDescription
children*ReactNode—Grid items
classNamestring—Additional CSS classes

Related Components