Hero
Card Fan Hero
A hero with a row of overlapping, tilted picture cards that spread out from the middle, with name bubbles above some of them.
npx motionsnack add card-fan-heroCustomize
Bubble
Bubble Alt
Background
<CardFanHero />Props
22 properties
| Property | Type | Default | Description |
|---|---|---|---|
| items | { image: { src: string; alt?: string }; tag?: string }[] | 7 sample cards | Cards in the fan, up to nine. `tag` is an optional name bubble above the card. |
| primaryCta | { label: string; href?: string } | { label: 'Start for free', href: '#' } | Filled button. An empty label hides it. |
| secondaryCta | { label: string; href?: string } | { label: 'Read more', href: '#' } | Glass button. An empty label hides it. |
| buttonColor | string | near-black / near-white in dark | Colour of the filled button. |
| buttonTextColor | string | white / near-black in dark | Text colour of the filled button. |
| buttonRadius | number | fully round | Corner radius of the buttons in px. |
| badgeTag | string | 'New' | One short word in the chip of the badge. Leave empty for no chip. |
| badgeIcon | boolean | true | Small spark icon at the start of the badge. |
| title | string | 'A place to show your best work' | Headline. |
| subtitle | string | 'Share finished projects in one calm place where the right people can find them.' | Paragraph under the cards. |
| showButtons | boolean | true | Show the two buttons. |
| cardWidth | number | 190 | Widest a card gets. |
| overlap | number | 0.24 | How much the cards overlap. |
| tilt | number | 1 | How far the cards are turned. 0 keeps them straight. |
| radius | number | 22 | Corner radius of the cards. |
| float | boolean | true | Cards bob slowly once they have arrived. |
| reveal | boolean | true | Cards spread out from the middle when the section loads. |
| stagger | number | 0.07 | Seconds between two cards arriving. |
| tagColor | string | '#0044ff' | Colour of the name bubbles. |
| tagColorTo | string | '#ffffff' | Colour of every second name bubble. |
| Button | ComponentType | built-in | Button component from the library for the filled button. Without one the section draws its own. |
| background | string | '#000000' | Section background. |
About Card Fan Hero
A centred badge and headline sit above a fan of picture cards. The cards overlap, each turned and shifted a little differently, and spread out from the middle when the section loads; afterwards they bob slowly. Hovering a card slides it smoothly upwards. Any card can carry a small name bubble that pops in above it. Under the fan come a short paragraph and two buttons. The fan shrinks with the screen so every card stays visible on a phone. With reduced motion the cards simply stand in place.
What's included
- Fan of overlapping, tilted picture cards
- Spread-out entrance and slow bobbing
- Hover slides a card upwards
- Optional name bubbles in two colours
- Badge, headline, paragraph and two buttons
- Light and dark, reduced motion respected
- Type
- Animated hero section for Next.js
- Library
- Sections · Hero
- Stack
- Next.js, React, Tailwind CSS
- Added
- 2026-09-20
- Install
npx motionsnack add card-fan-hero