A full-bleed hero over a raymarched black hole drawn in a raw WebGL shader. Every pixel bends its ray around the hole, so the accretion disc wraps over the shadow, glows brighter on its approaching side and frames a thin photon ring against a lensed starfield with a faint Milky Way band. Disc temperature follows a thin-disc profile and is shifted by Doppler beaming. The camera drifts slowly and the pointer tilts the view. Reduced motion renders a still frame and a CSS gradient stands in when WebGL is unavailable.
Included in Pro and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
import { BlackholeHero } from "@/components/hyperblur-pro/blackhole-hero"
<BlackholeHero
title="Beyond the event horizon"
actions={[{ label: "Get started", href: "/signup" }, { label: "Learn more", href: "/about" }]}
discColors={["#e9f3ff", "#4f7dff"]}
accent="#7aa2ff"
/>| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | "Deep field release" | Small pill above the headline. Empty string hides it. |
| title | string | "Beyond the event horizon" | Main headline. |
| subtitle | string | "A platform built to bend the rules of scale..." | Supporting paragraph under the headline. |
| actions | { label: string; href?: string }[] | [{ label: "Start the descent" }, { label: "Watch the film" }] | Up to two buttons. The first one is filled. Empty array hides them. |
| accent | string | "#e8b98a" | Accent for the primary button glow, the eyebrow dot and the focus ring. |
| discColors | [string, string] | ["#fff3e2", "#ee9a58"] | Hot inner color and cooler outer color of the accretion disc. |
| intensity | number | 1 | Brightness of the disc, photon ring and glow. |
| speed | number | 1 | Speed of the disc rotation and camera drift. 0 freezes the scene. |
| interactive | boolean | true | Let the pointer gently tilt the camera. |
| maxDpr | number | 1.5 | Upper limit for the canvas pixel ratio (capped at 2). The renderer also lowers its resolution on its own when frames run slow. |
| height | string | "100vh" | Height of the section, any CSS length such as 100svh. Minimum is 560px. |
Source code is included in Pro and above