Mist heroAll-AccessNew
A calm deep-green hero: a field of fine dots with mist rolling in from below and turning to cream. Steam lifts out of it on load, the pointer parts it, and a tap releases a puff.
Used forTea, coffee and food subscriptionsPlants, gardens and outdoorsSleep, wellness and meditation appsSkincare and slow living brands
Install with the shadcn CLI
A premium block, included with All-Access (see what’s inside). Add the @hairline-pro registry once, with the token from your account settings. Set it up
Templates
Need the whole page?
65 Next.js landing pages, each designed from scratch. Try any of them live; one is $39, all of them $159, and 8 are free.
Where it’s used
Tea, coffee and food subscriptions
Steam from the cup is the idea; the label names this month’s box.
Plants, gardens and outdoors
Morning mist over a dark field, with the season’s drop on the label.
Sleep, wellness and meditation apps
A calm first screen people stay on, with something to touch.
Skincare and slow living brands
Swap the green for your own and keep the cream fade into the page.
What it handles for you
A calm hero usually means a blurred gradient that never changes, or a video of fog that ignores the visitor.
Mist in two passes
The mist is drawn soft at a third of the resolution, then laid over a crisp dot field at full resolution.
Steam you make
A click or tap anywhere off the controls releases a puff that rises, widens and thins out over a few seconds.
Parts for the pointer
The mist thins around the pointer and the dots near it brighten, like a torch in the morning.
Fades into your page
The bottom edge turns to cream (--mh-cream), so a cream section can follow without a seam.
A bar in one pill
Links and the main action share one pill; on phones a menu opens a sheet.
Quiet when idle
Half frame rate while nothing moves; stops off screen and in hidden tabs.
Overview
Calm consumer brands usually get a soft gradient or a product photo on beige. Mist hero builds a quiet green morning in WebGL2: a field of fine dots, a few catching the light, and mist rolling in from below that turns to cream at the bottom edge, so the next section can simply be cream. On load the mist rises and three plumes of steam lift out of it. The pointer parts the mist and lights the dots near it; a click or tap releases a puff of steam that rises and thins out. Quick links, a headline and two actions sit on the left; a label for this month’s product sits in the cream.
States
- arrival
- The mist rises from the bottom edge and three plumes of steam lift out of it while the headline lines rise.
- pointer
- The mist thins around the pointer and the dots near it brighten.
- steam
- A click or tap off the controls releases a puff that rises and thins out.
- phone
- Under 820px the links fold into a menu sheet; the label sits under the copy in the cream.
- reduced motion
- One still frame with the mist in place; no steam.
Usage
Depends on lucide-react, installed for you by the CLI along with the keyframes it needs.
Works with
Your colours and face
MistHero reads type from --mh-display and --mh-sans and every colour from --mh-* variables, the mist included. mistLine sets how high the mist rises.
Props
- brand / logo
- string / ReactNode
- Wordmark and mark; the default mark is a steaming cup.
- navLinks
- { label; href; active? }[]
- Links in the pill; the active one is a lighter pill.
- navAction
- { label; href?; onClick? }
- The cream button at the end of the pill.
- quickLinks
- { label; href }[]
- Small arrow links above the headline.
- headline
- string[]
- Two or three lines; each rises out of its slot.
- subheadline
- string
- One sentence.
- primaryAction / secondaryAction
- { label; href?; onClick? }
- Cream pill and a glass pill.
- label
- { title; facts: string[] }
- This month’s product, set in the cream at the bottom.
- mistLine= 0.42
- number
- How high the mist rises, as a share of the height.
Accessibility and motion
- Colours: --mh-green, --mh-deep, --mh-cream, --mh-dot (the field and the mist), --mh-ink, --mh-ink-2, --mh-ink-3, --mh-glass, --mh-edge, --mh-on-cream, --mh-label-ink. They never inherit your shadcn theme.
- Put a section in --mh-cream right after it and the mist runs straight into it.
- The canvas is capped at about 2.4 million pixels and the mist is drawn at a third of that; it runs at half the frame rate when nothing moves and stops off screen.
- Needs WebGL2; without it the hero is plain green and everything else works.
Requirements
React 19, Tailwind CSS v4 and shadcn/ui theme variables (any style, light and dark). Icons from lucide-react.
Source
Part of All-Access
Mist hero is 746 lines of finished work.
- components/mist-hero.tsx438 lines
- components/mist-hero-gl.ts308 lines
Installs with npx shadcn add @hairline-pro/mist-hero, in your theme, light and dark.
$159once, for everything
The 57 paid templates alone are $2,223 one by one.
- Mist hero: the source and the CLI install
- Every premium block: 20 today, and each one we add
- All 65 Next.js templates, with live demos
- Commercial license for unlimited client sites
Guest checkout · Instant CLI token + downloads · 5 more templates and it goes to $169. Full refund within 14 days, until your first download.
Already have All-Access? Sign in to see the source


