Bento Grid

A cool grid layout with different child component.

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.

Examples

BentoGrid in MagicUI style.

Component Code

You can copy and paste the following code to create these components:

BentoGrid.vue
BentoGridItem.vue
BentoGridCard.vue

Credits