An art-directed hero flying through a WebGL starfield. Move the cursor toward the center and the drive spools up: stars stretch into streaks with chromatic fringes, speed lines race outward, the core glows and the camera starts to shake. Pull away and it calms to a drift. The Engage button runs a full jump: a charging ring, a rising shake, a white flash with a chromatic shockwave and a new headline flying in. A HUD with velocity, warp factor and a live warp gauge reacts in real time. Reduced motion renders a still frame and a CSS starburst stands in without WebGL.
Included in Pro and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
import { HyperdriveHero } from "@/components/hyperblur-pro/hyperdrive-hero"
<HyperdriveHero
brand="Northstar"
accent="#ffb86b"
tint="#ff6ad5"
headlines={[
{ eyebrow: "Now boarding", title: "Ship at the speed of thought" },
{ eyebrow: "Arrived", title: "Welcome to the other side" },
]}
onEngage={(i) => console.log("scene", i)}
/>| Prop | Type | Default | Description |
|---|---|---|---|
| brand | string | "Vantor" | Name next to the generic mark in the top bar. |
| links | { label: string; href?: string }[] | Systems, Fleet, Flight log, Pricing | Top navigation links. Empty array hides the nav. |
| headlines | { eyebrow?: string; title: string; subtitle?: string }[] | 3 scenes | Scenes cycled by each jump. The first one is shown on load. |
| engageLabel | string | "Engage" | Label of the jump button. |
| secondaryAction | { label: string; href?: string } | null | { label: "View the flight plan" } | Optional second button. Pass null to hide. |
| accent | string | "#7cc8ff" | Main glow color for the core, streak heads, gauge and buttons. |
| tint | string | "#b48cff" | Secondary color for some stars, nebula and speed lines. |
| density | number | 1 | Star count multiplier (2200 stars on desktop, 1000 on touch devices at 1). |
| speed | number | 1 | Flight speed multiplier. |
| interactive | boolean | true | Let the pointer distance to the center drive the warp and steer the vanishing point. |
| autoplay | boolean | true | Pulse the warp on its own before the first interaction and drift gently after the pointer leaves. |
| hud | boolean | true | Show the velocity readouts, warp gauge and hint at the bottom. |
| maxDpr | number | 2 | Upper limit for the canvas pixel ratio (capped at 2). |
| height | string | "100vh" | Height of the section. Minimum is 600px. |
| onEngage | (index: number) => void | - | Called at the flash of each jump with the index of the new scene. |
Source code is included in Pro and above