Rift heroAll-AccessNew
A gallery-minimalist hero flanked by two sculptural halftone-dot forms that stream magnetic filaments on hover, implode into the CTA button on click with a full-canvas harmonic ripple, and burst back out in fluid particle ribbons.
Used forDistributed systems, sync engines and API platformsHardware, robotics and optical engineering launchesAI labs and flagship developer toolsSecurity, settlement and zero-trust products
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
Distributed systems, sync engines and API platforms
Two cleaved sculptural halves visually converge on contact the moment a visitor clicks the hero CTA.
Hardware, robotics and optical engineering launches
Swap to the noir tone and cutaway optical lens halves, or pass dark studio product shots through leftImage and rightImage.
AI labs and flagship developer tools
Pairs gallery-level typographic restraint with a tactile physics moment visitors stop to record and share.
Security, settlement and zero-trust products
Turns the primary CTA into a literal contact latch that seals scattered halves into one crisp state.
What it handles for you
Canvas particle heroes usually stall mobile browsers with thousands of 2D arc calls, ignore the button's actual coordinates, and break when you want to swap in your own artwork.
One WebGL gl.POINTS draw call
Renders ~4,200 spring-physics halftone dots plus the full-viewport ripple matrix in a single typed-array WebGL buffer—smooth at 4× CPU and 0% CPU when settled.
Live hover magnetic filaments
Hovering or focusing the central CTA pulls charged halftone streams off the inner edges of both flanking sculptures straight toward the button.
CTA-anchored implosion and harmonic ripple
Measures the button's live rect so every particle spirals directly onto its perimeter while a dual concentric dot wave expands across the background.
Fluid curl-noise ribbon reform
Releasing the contact erupts all particles outward along calligraphic curl-noise streamlines before snapping cleanly back onto their halftone grid.
Drop in any studio image
Ships with two compact WebP sculpture pairs (cleaved marble sphere and cutaway optical lens) and samples any custom leftImage and rightImage URLs live.
Recomposed for phones
Below 760px the flanking sculptures drop cleanly below the CTA so zero halftone dots cross the headline or button, with a single-column nav drawer.
Overview
Most interactive heroes put a heavy 3D scene behind unreadable text or animate on an idle loop nobody asked for. Rift hero keeps a wide gallery-clean stage for your headline and primary button while flanking it with ~4,200 spring-physics halftone dots sampled live from high-contrast sculptural plates (two bundled pairs, or your own leftImage and rightImage). Moving the pointer sweeps a physical magnetic wake across the dots. Hovering the central CTA pulls live particle filaments straight off both inner edges toward the button. Clicking the CTA detaches every dot along curved vortex streamlines into the button's exact perimeter as it locks solid, firing a dual concentric harmonic shockwave across the full-viewport dot matrix. Clicking again erupts all particles back out in sweeping curl-noise ribbons that snap cleanly back into halftone formation. Everything renders in one WebGL gl.POINTS draw call with typed-array physics and sleeps at 0% CPU once settled.
States
- rest
- Two flanking sculptural forms sit razor-sharp in variable-diameter halftone dots on either side of the centered headline and CTA, sleeping at 0% CPU.
- pointer wake
- Sweeping the cursor over either sculpture applies a spring-damped magnetic wake that parts nearby dots and rebounds smoothly.
- CTA hover
- Hovering or focusing the primary CTA pulls live charged filaments off the inner cleaved edges straight toward the button while the remaining dots lean inward.
- contact (sealed)
- Clicking the CTA spirals all ~4,200 particles along curved vortex paths onto the button's perimeter, flips the button solid with a vertical slot roll, and fires a dual concentric wave across the background dot matrix.
- ribbon reform
- Clicking again bursts all particles back out in swirling curl-noise ribbons that reassemble cleanly into crisp halftone formation.
- reduced motion
- Draws one sharp still halftone frame with no pointer wake, filaments, or particle bursts; toggling the CTA switches states cleanly in place.
Usage
Depends on lucide-react, installed for you by the CLI along with the keyframes it needs.
With your own colour, tone and images
Set `tone="noir"` for a dark gallery canvas, override any `--rh-*` CSS variable on the root, and pass your own bright-on-black `leftImage` and `rightImage` URLs to turn any product or sculpture into live halftone particles.
Props
- brand
- string
- Brand wordmark in the top-left nav lockup.
- logo
- ReactNode
- Optional mark beside the brand name.
- navLinks= []
- { label: string; href: string }[]
- Centered nav links; fold into a clean push-down drawer under 860px.
- navSecondaryAction / navPrimaryAction
- { label: string; href?: string; onClick?: () => void }
- Quiet right-side link and sharp primary nav button.
- eyebrow
- string
- Plain single-line label above the headline in the signal colour.
- headline
- string | string[]
- Display headline; an array sets explicit line breaks.
- subheadline
- string
- Short supporting copy under the headline.
- actionLabel / sealedLabel= "Close the rift" / "Synchronized"
- string
- Resting and locked labels on the central contact CTA button.
- onContact
- (sealed: boolean) => void
- Callback fired when the visitor clicks the CTA to seal or release the rift.
- autoResetMs= 0
- number
- Optional ms delay before automatically reforming the particles after sealing (0 keeps manual toggle).
- scene= "sphere"
- "sphere" | "optics"
- Bundled high-contrast studio sculpture pair loaded lazily as WebP.
- leftImage / rightImage
- string
- Optional URLs of your own bright-on-black images to sample live into halftone particles.
- proofLabel / logos
- string / { name: string; mark?: ReactNode }[]
- Bottom social-proof caption and monochrome partner marks.
- tone= "paper"
- "paper" | "noir"
- Warm alabaster paper with Swiss Vermilion dots (`paper`) or deep obsidian with mineral emerald (`noir`).
Accessibility and motion
- All colours live in --rh-* CSS variables on the section root (--rh-ground, --rh-surface, --rh-ink, --rh-ink-2, --rh-ink-3, --rh-rule, --rh-signal, --rh-dot-deep, --rh-signal-soft, --rh-on-signal, --rh-nav-btn, --rh-on-nav-btn) and never inherit from shadcn tokens.
- The WebGL renderer draws every halftone dot and background ripple dot in a single gl.POINTS draw call and sleeps at 0% CPU once particles settle or when scrolled off-screen.
- Bundled sculptural plates live in rift-hero-scenes.ts as compact WebP data URIs loaded dynamically after first paint.
- Respects prefers-reduced-motion: renders one crisp settled halftone frame with zero physics loops.
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
Rift hero is 1,619 lines of finished work.
- components/rift-hero.tsx772 lines
- components/rift-hero-gl.ts829 lines
- components/rift-hero-scenes.ts18 lines
Installs with npx shadcn add @hairline-pro/rift-hero, in your theme, light and dark.
$159once, for everything
The 57 paid templates alone are $2,223 one by one.
- Rift 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


