Projects
Project Cards
A 2×2 grid of photo cards that turn to frosted glass and reveal the story behind each project.
npx motionsnack add project-cardsCustomize
Background
<ProjectCards />Props
10 properties
| Property | Type | Default | Description |
|---|---|---|---|
| projects | { image?: { src: string; alt?: string }; title?: string; text?: string }[] | 4 sample projects | One card per item, two in a row. An empty list shows no cards. |
| buttonColor | string | light/dark class | Fill of the round + / − button. |
| buttonTextColor | string | light/dark class | Colour of the + / − sign. |
| buttonRadius | number | light/dark class | Corner radius of the + / − button, in px. Fully round when not set. |
| kicker | string | 'Selected work' | Small label above the headline. |
| title | string | 'Projects that
refuse to sit still' | Headline. Use \n for line breaks. |
| description | string | 'A few recent pieces — films, live visuals and campaigns. Open a card to read the story behind it.' | Paragraph next to the headline. Leave empty to hide it. |
| background | string | '#000000' | Section background. |
| blur | number | 28 | How strongly the photo blurs when a card opens. |
| single | boolean | false | Close the other cards when one opens. |
About Project Cards
A headline and description sit above four square project cards. Each shows a photo with a short caption and a round plus button. Click a card and the photo melts into a dark, frosted blur while the caption moves to the top and the full story fades in beneath it; the plus turns into a minus.
What's included
- 2×2 project grid
- Photo to frosted-glass transition
- Caption that moves to the top
- Plus that turns into minus
- One or many open at once
- Keyboard accessible
- Type
- Animated projects section for Next.js
- Library
- Sections · Projects
- Stack
- Next.js, React, Tailwind CSS
- Added
- 2026-09-20
- Install
npx motionsnack add project-cards