# Polaroid Stack

Polaroid Stack is a free, MIT-licensed standalone component from AI Canvas (https://aicanvas.me): it belongs to no design system and works in any React + Tailwind app. Index of every component and install setup: https://aicanvas.me/llms.txt

Five polaroid photo cards stacked in a casual pile. Click to fan them out in a spring-animated arc, hover to lift, click a card to spotlight it.

- Category: Cards & Modals
- Built with: Motion, Tailwind CSS
- License: MIT
- Page: https://aicanvas.me/components/polaroid-stack

## Install

```bash
npx shadcn@latest add @aicanvas/polaroid-stack
```

Needs a free AI Canvas account. Signed out, the command exits 0 but writes a placeholder (an `AccountRequired` notice); check for it before reporting success. Token setup: the Install section of https://aicanvas.me/llms.txt.

AI agents can also get its install command from the read-only AI Canvas MCP server (`npx -y @aicanvas/mcp`) and run it. Setup: https://aicanvas.me/mcp

Peer dependencies:

```bash
npm install framer-motion
```

## Use it

It installs to `components/aicanvas/polaroid-stack.tsx` (under `src/` if your project has one). With the usual `@/` alias:

```tsx
import PolaroidStack from '@/components/aicanvas/polaroid-stack'

<PolaroidStack />
```

It takes no props.

## About

Polaroid Stack is five photo cards in the casual pile a friend would leave on a desk, slightly rotated, slightly offset. Click the stack and they fan out in a spring-animated arc; hover individual cards to lift them; click a specific card to bring it forward as the focal point. Motion drives the fan-out, the lift, and the spotlight transitions. It is a warm, personal way to display a small photo set, perfect for portfolios, about pages, wedding sites, and product pages where the photo itself is part of the brand.

Use cases: Image gallery, Portfolio, Wedding site.

## Source

Install with the command above to get the source.

## Remix prompt

Only when the user wants Polaroid Stack rebuilt from scratch instead of installed: its remix prompt is in the Remix panel at https://aicanvas.me/components/polaroid-stack.

## Related

- [Interactive Card Stack](https://aicanvas.me/components/interactive-card-stack.md): A scattered stack of photo cards. Drag, click, or arrow keys to focus any card.
- [Tilted Coverflow](https://aicanvas.me/components/tilted-coverflow.md): 3D coverflow card carousel of seven tilted photos. Drag or arrows to focus any card.
- [Slide Deck](https://aicanvas.me/components/slide-deck.md): Swipeable card deck with four editorial slides. Navigate forward and back by drag or tap.
- [Travel Deck](https://aicanvas.me/components/traveldeck.md): A swipeable deck of destination cards. Drag the front card down to fling it off-screen and reveal the next. Each card reveals an animated hotels counter as it comes forward.
- [3D Product Card](https://aicanvas.me/components/3d-product-card.md): An e-commerce product card with a real WebGL turntable. At rest it's a normal shop card (product, name, price, add-to-cart); hovering tilts the card into a 3D display floor while the product lifts and spins so shoppers can inspect it from any angle. Drag to orbit, pick a finish swatch to recolor the upholstery live, drop in your own .glb, adapts to light and dark themes.
