Hero
Glow Drift Hero
A clean hero over slow blue glows that drift and breathe in the dark.
npx motionsnack add glow-drift-heroCustomize
Background
Glow
Accent
<GlowDriftHero />Props
15 properties
| Property | Type | Default | Description |
|---|---|---|---|
| primaryCta | { label: string; href?: string } | { label: 'Start building', 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. |
| 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 | 'Beyond the ordinary build' | Headline. |
| subtitle | string | 'Drop in a developer-friendly SDK and ship in an afternoon. Built for dashboards, internal tools and customer-facing flows alike.' | Paragraph under the headline. |
| Button | ComponentType | built-in | Button component from the library for the filled button. Without one the section draws its own. |
| background | string | '#000000' | Dark base colour of the section. |
| glowColor | string | '#2f6bff' | Main glow rising from the bottom centre. |
| accentColor | string | '#000000' | Lighter glows in the bottom corners and the wandering highlight. |
| speed | number | 2 | How fast the glows drift. 0 keeps them still. |
| drift | number | 1.65 | How far the glows travel and breathe. |
| intensity | number | 1 | Brightness of the glows. |
| blur | number | 109 | Blur radius of the glows in px. |
| showButtons | boolean | true | Show the two buttons. |
About Glow Drift Hero
Four heavily blurred glows — a big core rising from the bottom, two lighter corners and a wandering highlight — slowly drift and breathe on a dark base. The top stays dark so the headline, subtitle and two buttons read clearly.
What's included
- Animated blurred glows
- Headline, subtitle and two buttons
- No canvas or extra libraries
- Reduced-motion still frame
- Type
- Animated hero section for Next.js
- Library
- Sections · Hero
- Stack
- Next.js, React, Tailwind CSS
- Added
- 2026-09-20
- Install
npx motionsnack add glow-drift-hero