Documentation
Marketing Components
Bento Grid

Bento Grid

The component is a flexible grid layout that allows for dynamic placement of elements, enabling customization of grid items' width and height. It's ideal for creating responsive, visually appealing grids that adjust seamlessly across various screen sizes.

Installation

Install the package

npm i @start-base/start-ui

Add the styles

To use the React form elements styles in a Next.js project, import the styles in your layout.tsx file.

app/layout.tsx
import "@start-base/start-ui/styles.css";
Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
Item 7
Item 8

API

NameTypeDefaultDescription
gridColsnumber4Number of columns
itemsarrayItems for the grid ordered by ascendant
rowHeightnumber100single row height as pixels