A flexible grid layout system perfect for portfolios, feature showcases, and unique page layouts.
Mix different column and row spans to create unique layouts for any content.
Semi-transparent backgrounds with backdrop blur.
Smooth color transitions on every interaction.
Glow effects and subtle animations that respond to your cursor.
import { BentoGrid, BentoGridItem } from "@/components/ui/animated-bento-grid";
export default function Example() {
return (
<BentoGrid>
<BentoGridItem
colSpan="2"
title="Large Item"
description="Spans 2 columns"
>
<div>Your content</div>
</BentoGridItem>
<BentoGridItem
title="Regular Item"
description="Single column"
>
<div>Your content</div>
</BentoGridItem>
</BentoGrid>
);
}| Name | Type | Default | Description |
|---|---|---|---|
| title | string | - | Optional card title |
| description | string | - | Optional description |
| colSpan | "1" | "2" | "3" | "1" | Column span |
| rowSpan | "1" | "2" | "1" | Row span |
| header | React.ReactNode | - | Optional header section |