A dark hero with a gradient headline on the left and a real-time 3D mascot on the right, raymarched from signed distance fields in a single raw WebGL shader. The glossy ceramic robot head turns toward the cursor on a spring, its glowing eyes lead the motion and blink now and then, while a moving studio spotlight sweeps the wall behind it, casts soft shadows and lights up a dusty volumetric beam. Before the first pointer move it looks around on its own. No models or downloads, a CSS illustration stands in without WebGL and reduced motion renders a still frame.
Included in Pro and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
import { Spotlight3DHero } from "@/components/hyperblur-pro/spotlight-3d-hero"
<Spotlight3DHero
title="Say hello to"
highlight="your new copilot"
accent="#7cffb2"
rim="#ff7ac8"
actions={[{ label: "Get early access", href: "/join" }]}
/>| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | "Live 3D, zero assets" | Text in the pill above the headline. Empty string hides it. |
| title | string | "Meet the interface" | First part of the headline, with a white to gray gradient. |
| highlight | string | "that looks back" | Second part of the headline, rendered with the accent gradient. |
| subtitle | string | Short product pitch | Paragraph under the headline. |
| actions | { label: string; href?: string }[] | Start building, See it in action | Up to two buttons. The first one is filled. |
| stats | { value: string; label: string }[] | 3 stats | Up to four small figures under the buttons. Empty array hides them. |
| accent | string | "#6ee7ff" | Eye glow, ear rings, antenna tip and highlight gradient start. |
| rim | string | "#a78bfa" | Back rim light on the sculpture and highlight gradient end. |
| bodyColor | string | "#e8e9ee" | Ceramic color of the head and shoulders. |
| spotColor | string | "#fff4e6" | Color of the moving spotlight and its beam. |
| interactive | boolean | true | Make the head and eyes follow the pointer (or a finger on touch). |
| autoplay | boolean | true | Look around on its own before the first interaction and a few seconds after the pointer leaves. |
| maxDpr | number | 1.5 | Upper limit for the canvas pixel ratio (capped at 2). Resolution also drops on its own when frames run slow. |
| height | string | "100vh" | Height of the section. Minimum is 620px. |
Source code is included in Pro and above