# Bento grid

A modular grid layout for featuring content blocks, use cases, or product highlights.

By Magic UI. Categories: framework, interface, language, library.

[Demo](https://magic-ui-bento-grid.preview.croct.live) · [Deploy](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fcroct-tech%2Fvercel-template&project-name=magic-ui-bento-grid&repository-name=magic-ui-bento-grid&demo-title=Bento+grid&demo-description=A+modular+grid+layout+for+featuring+content+blocks%2C+use+cases%2C+or+product+highlights.&demo-image=https%3A%2F%2Fcdn.croct.io%2Fassets%2Ftemplates%2Fcovers%2Flibrary-magic-ui-bento-grid.png&external-id=magic-ui%3A%2F%2Fcomponent%2Fbento-grid&integration-ids=oac_cTQZ22CIXn5XgZXYk2nBwFdU&demo-url=https%3A%2F%2Fmagic-ui-bento-grid.preview.croct.live) · [Source](https://github.com/croct-tech/templates/blob/master/templates/magic-ui/component/bento-grid/)

## Installation

```sh
npx croct@latest use magic-ui://component/bento-grid
```

# Introduction

This template adds the [Magic UI Bento Grid](https://magicui.design/docs/components/bento-grid?utm_source=croct) component to your 
project or creates a new project using [Next.js](https://nextjs.org/?utm_source=croct) if none is found in the current directory.

It comes fully integrated with Croct, giving you CMS, AB testing, and personalization out of the box.

## Usage

To create a new project using this template, run:

```croct-cmd
croct use magic-ui://component/bento-grid
```

You can customize the template by specifying options:

```croct-cmd
croct use magic-ui://component/bento-grid --router=page
```

## Options

The following options are available for this template:

| Option        | Description                          | Required | Default  |
|---------------|--------------------------------------|----------|----------|
| `projectName` | The name of the project.             | No       | `my-app` |
| `version`     | The Next.js version to use.          | No       | `latest` |
| `router`      | The router to use (`app` or `page`). | No       | `app`    |
