Bento Grid

A multi-column grid layout with bento boxes.

Examples

Implementation of bento grid

You can add upto 7 cards in the bento grid and minimum of 3 cards.

Multiple cards & click functionality

Hover over the bento grid and click any card.

Installation

npx shadcn@latest add "https://aetherui.in/c/bento-grid.json"

Usage

You can customize the content of the bento grid by passing the following props to the component.

Bento Grid Props

PropTypeDefaultDescription
cardsArrayAn array of cards to be displayed in the bento grid (minimum of 3 cards and maximum of 7 cards).
classNamestringAdditional class names to be applied to the bento grid.
customIdstringA unique identifier for the bento grid.
isClickablebooleanfalseA boolean prop to enable click functionality on the bento grid.
...propsanyAdditional props to be passed to the bento grid.