Bento Grid

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

cardsgridbentolayout

Installation

Terminalbash
npx motioncraft 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*ReactNodeGrid items
classNamestringAdditional CSS classes

Related Components