Bento Grid

A cool grid layout with different child component.

Install using CLI

npm
pnpm
bun
yarn
npx shadcn-vue@latest add "https://inspira-ui.com/r/bento-grid.json"

Install Manually

Copy and paste the following code in the same folder

BentoGrid.vue
BentoGridCard.vue
BentoGridItem.vue

Examples

BentoGrid in MagicUI style.

API

BentoGridItem

Slot NameDescription
titleComponent to show as title.
descriptionComponent to show as description.
iconComponent to show as icon.
headerComponent to show as header.

BentoGridCard

Slot NameDescription
backgroundComponent to show in background.
Props NameTypeDescription
namestringName or title to show on card.
icon?stringIcon component to show on card.
descriptionstringDescription content to show on card.
hrefstringLink to the url for CTA.
ctastringText to show on CTA.

Credits