Introducing Aceternity UI Pro - 70+ premium component packs and templates to build amazing websites.
Logo

Layout Grid

A layout effect that animates the grid item on click, powered by framer motion layout

Open in
thumbnail
thumbnail
thumbnail
thumbnail

Installation

Run the following command

npx shadcn@latest add https://ui.aceternity.com/registry/layout-grid.json

Props

PropTypeDescription
cardsCard[]An array of Card objects. Each Card object should have the following properties: id (a unique identifier), content (the JSX.Element to be displayed), className (the CSS class name for the card), and thumbnail (the URL of the thumbnail image).

The Card type is defined as follows:

PropertyTypeDescription
idnumberA unique identifier for the card.
contentJSX.Element | React.ReactNode | stringThe content to be displayed in the card.
classNamestringThe CSS class name for the card.
thumbnailstringThe URL of the thumbnail image for the card.

Build websites faster and 10x better than your competitors with Aceternity UI Pro

With the best in class components and templates, stand out from the crowd and get more attention to your website. Trusted by founders and entrepreneurs from all over the world.

Go Pro
The work that Manu did laid the foundation of online education that we provide today. The website he built for us is used by thousands of students every day. He took the requirements and built the ...

Jagvinder Kour

Chairperson at Golden Bells Academy

A product by Aceternity
Building in public at @mannupaaji