Skip to main content
← Back to Components

Layouts

Flexible grid systems for creating unique page layouts

Bento Grid

A flexible grid layout system perfect for portfolios, feature showcases, and unique page layouts.

Preview

Flexible Grid System

Mix different column and row spans to create unique layouts for any content.

Frosted Surfaces

Semi-transparent backgrounds with backdrop blur.

Animated Gradients

Smooth color transitions on every interaction.

Hover Interactions

Glow effects and subtle animations that respond to your cursor.

Installation

app/page.tsxtsx
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>
  );
}

Props

NameTypeDefaultDescription
titlestring-Optional card title
descriptionstring-Optional description
colSpan"1" | "2" | "3""1"Column span
rowSpan"1" | "2""1"Row span
headerReact.ReactNode-Optional header section