Disintegrating Gallery
An endless strip of images that come apart into squares at the edges of the screen and assemble again as they move back in. Drag to scroll. Built on WebGL.
- Blue mountain ridges fading into haze
- A turquoise wave breaking into foam
- Sunset over a meadow with scattered trees
- A path through a sunlit forest
- Aerial view of surf meeting sand
Dependencies
motionthreeTags
gallerywebglscroll
Frequently asked questions
- How do I install the Disintegrating Gallery?
- Run npx shadcn@latest add @aceternity/disintegrating-gallery. 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/disintegrating-gallery.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 Disintegrating Gallery 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 Disintegrating Gallery 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.