Projects
Step Cards Projects
NewA progress line and a headline on the left, a slider of tall picture cards on the right; the active card stands tall, the next ones wait lower.
npx motionsnack add step-cards-projectsCustomize
Background
<StepCardsProjects />Props
15 properties
| Property | Type | Default | Description |
|---|---|---|---|
| projects | { heading: string; text?: string; image?: { src: string; alt?: string }; href?: string }[] | 4 sample projects | One card per project. Without an `href` the card has no button. |
| primaryCta | { label: string; href?: string } | { label: 'Start a project', href: '#' } | Filled button under the headline. An empty label hides it. |
| intro | string | 'We design clear, quietly bold digital work that people enjoy using and remember afterwards.' | Short paragraph at the top left. Leave empty to hide it. |
| kicker | string | 'Selected work' | Small label above the headline. Leave empty to hide it. |
| title | string | 'Building brands
that move
from day one' | Headline. Use \n for line breaks. |
| Button | ComponentType | built-in | Button component from the library for the filled button. Without one the section draws its own. |
| cardLinkLabel | string | 'View project' | Label of the button on each card. Leave empty to hide the buttons. |
| interval | number | 6 | Seconds a card stays before the next one comes. 0 turns it off. |
| cardWidth | number | 340 | Width of a card. Phones use 78 % of the screen. |
| cardHeight | number | 480 | Height of the active card. |
| restHeight | number | 0.84 | Height of the waiting cards as a part of the active one. |
| gap | number | 16 | Space between the cards. |
| cardRadius | number | 22 | Corner radius of the cards. |
| grayscale | boolean | false | Pictures in black and white until their card is active. |
| background | string | '#000000' | Section background. |
About Step Cards Projects
A projects section in two parts. On the left a thin line fills while a project is on screen; under it sit a short intro, a headline and a button. On the right tall picture cards slide in a row, each with the name of the project, a sentence and a button at the bottom over a dark shade, so the copy reads on any picture. The active card is full height, the waiting ones are shorter and step down beside it. The cards move on by themselves and pause under the pointer; arrows, a swipe or the arrow keys move them by hand.
What's included
- Progress line that fills while a project is on screen
- Tall picture cards with a dark shade under the copy
- Active card full height, waiting cards lower
- Autoplay that pauses on hover and focus
- Arrows, swipe and arrow keys
- Light and dark look, reduced motion respected
- Type
- Animated projects section for Next.js
- Library
- Sections · Projects
- Stack
- Next.js, React, Tailwind CSS
- Added
- 2026-11-22
- Install
npx motionsnack add step-cards-projects