Hero
Dune Screen Hero
A hero whose product screen stands half hidden behind dark sand dunes and sinks into them as you scroll.
npx motionsnack add dune-screen-heroCustomize
Glow From
Glow To
Background
<DuneScreenHero />Props
23 properties
| Property | Type | Default | Description |
|---|---|---|---|
| image | { src: string; alt?: string } | { src: '/sections/dune-screen.jpg', alt: 'Dashboard with project numbers' } | Screenshot on the screen behind the dunes. An empty src hides the screen. |
| primaryCta | { label: string; href?: string } | { label: 'Request a demo', href: '#' } | Filled button. An empty label hides it. |
| secondaryCta | { label: string; href?: string } | { label: 'How it works', 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 | 'Less busywork. More business in motion.' | Headline. |
| subtitle | string | 'One calm place for every project, client and invoice your studio runs.' | Paragraph under the headline. |
| showButtons | boolean | true | Show the two buttons. |
| screenWidth | number | 1040 | Widest the screen gets. |
| duneHeight | number | 0.24 | Height of the dunes as a share of the section width. |
| sink | number | 30 | How far the screen sinks behind the dunes on scroll, in % of its height. 0 keeps it still. |
| duneShift | number | 36 | How far the dunes slide against each other on scroll. |
| reveal | boolean | true | The screen rises from behind the dunes when the section loads. |
| grain | number | 0.5 | Sand grain on the dunes. |
| glow | boolean | true | Coloured light behind the screen. |
| glowColor | string | '#0044ff' | Left colour of the light. |
| glowColorTo | string | '#9cc2ff' | Right colour of the light. |
| glowIntensity | number | 0.6 | Strength of the light. |
| 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 Dune Screen Hero
A centred badge, headline, subtitle and two buttons sit above a product screenshot in a slim frame. Two layers of drawn sand dunes cross the bottom of the section: one behind the screen and one in front, so the screen looks planted in the sand. When the section loads the screen rises from behind the dunes; as the page scrolls it sinks back while the dunes slide against each other. A soft two-colour light glows behind the screen. With reduced motion everything stays still.
What's included
- Screen that sinks behind the dunes on scroll
- Two dune layers with parallax and sand grain
- Rise-in on load
- Two-colour glow behind the screen
- Badge, headline, subtitle 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 dune-screen-hero