6 / 9

Infinite Card Grid

An endless grid of cards you drag in any direction. Click one and it flies to the center with a few details; close and it flies back.

Dependencies

motion

Tags

griddraggallery

Frequently asked questions

How do I install the Infinite Card Grid?
Run npx shadcn@latest add @aceternity/infinite-card-grid. Before installing, add the Aceternity Pro registry to your components.json and set your API token as the ACETERNITY_PRO_TOKEN environment variable. The CLI adds the file to components/interactions/infinite-card-grid.tsx and installs Motion. You can also ask an agent with the shadcn MCP server connected, or copy the prompt with the full source into any AI tool.
Is the Infinite Card Grid included with All-Access?
Yes. Interactions are included with the Aceternity UI All-Access plan (1-Year License, Lifetime, or an active yearly subscription). Anyone can play with the preview and the controls; All-Access unlocks the code, the CLI and MCP install, and the prompt.
Can I change how the Infinite Card Grid moves?
Yes. Use the controls next to the preview to change the timing and the motion in real time. Every control is a prop of the component.
Is it accessible?
Yes. It uses native elements and ARIA roles, works with the keyboard, follows your shadcn/ui theme tokens, and reduces motion when the system asks for reduced motion.

Set up the CLI and MCP · All interactions

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.