10% off on all-access. Use code SUPER10.
    d :
    h :
    m :
    Logo

    Layout Grid

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

    thumbnail
    thumbnail
    thumbnail
    thumbnail

    Installation

    Run the following command

    npx shadcn@latest add @aceternity/layout-grid

    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

    Next.js 15, Tailwind CSS v4 and Motion for react powered templates

    100+ templates and blocks combined

    Ready to copy paste component blocks, save days of development time

    Aceternity UI Pro Demo - Light Mode
    Logo
    Aceternity UI

    Access an ever-growing collection of premium, meticulously crafted templates and Component Blocks.

    A product by Aceternity
    Building in public at @mannupaaji

    © 2026 Aceternity Labs LLC. All Rights Reserved.