# Gravity Wall

> A drifting wall of photos bends away from the cursor like a gravity well, promoting whichever picture sits in the clearing — click and the whole wall pans to bring it to center.

## Details

- **Slug**: `gravity-wall`
- **Tags**: cards-grids

## Links

- [Registry item](https://www.uicapsule.com/r/gravity-wall.json): install with `npx shadcn@latest add https://www.uicapsule.com/r/gravity-wall.json`
- [Raw source JSON](https://www.uicapsule.com/api/content/gravity-wall): every file, as JSON
- [Bare preview](https://www.uicapsule.com/preview-frame/gravity-wall): the component with no site chrome

## Files (6)

Full contents are in the registry item linked above.

- `/build-cells.ts`
- `/featured-card.tsx`
- `/gravity-wall.tsx`
- `/package.json`
- `/photos.ts`
- `/preview.tsx`

---

[UICapsule](https://www.uicapsule.com) · [All components](https://www.uicapsule.com/llms.txt)
