A full-bleed hero over a spiral galaxy drawn from more than a hundred thousand WebGL points. Four logarithmic arms wind around a white-violet core and rotate faster near the center than at the rim, the disc is tilted toward the viewer, dark dust lanes cut along the inner edge of each arm and soft nebula haze, bright star knots and bokeh stars drift behind. The cursor tilts the camera and parts the stars like mist, with a ghost cursor playing until the first real move. Headline, text and buttons sit over the field. Reduced motion shows a still galaxy and a CSS spiral stands in without WebGL.
Included in Pro and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
import { ParticleGalaxyHero } from "@/components/hyperblur-pro/particle-galaxy-hero"
<ParticleGalaxyHero
title={"A galaxy,\nin motion"}
actions={[{ label: "Get started", href: "/signup" }]}
mint="#7fffd4"
violet="#5b4bff"
tilt={60}
arms={4}
/>| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | "Deep field / Spiral 04" | Small pill above the headline. Empty string hides it. |
| title | string | "A galaxy,\nin motion" | Large thin headline. Use \n for line breaks. |
| subtitle | string | "A hundred thousand points of light wind into four slow arms..." | Supporting paragraph under the headline. |
| actions | { label: string; href?: string }[] | [{ label: "Explore the field" }, { label: "Read the notes" }] | Up to two buttons. The first one is filled. Empty array hides them. |
| hint | string | "[ Move to part the stars ]" | Mono caption at the bottom right on large screens. Empty string hides it. |
| mint | string | "#7fffd4" | Color of the outer arms and the nebula tint (hex). |
| violet | string | "#5b4bff" | Color of the inner arms and the glow around the core (hex). |
| particleCount | number | 130000 | Stars in the disc. Small screens use about half and four-core devices about 70 percent. |
| speed | number | 1 | Rotation speed multiplier. 0 freezes the galaxy. |
| tilt | number | 62 | Inclination of the disc in degrees. 0 faces the viewer, 90 is edge-on. |
| arms | number | 4 | Number of spiral arms, from 2 to 6. |
| interactive | boolean | true | Let the pointer tilt the camera and part the particles. |
| maxDpr | number | 2 | Upper limit for the canvas pixel ratio (capped at 2). |
| height | string | "100vh" | Height of the section, any CSS length such as 100svh. Minimum is 560px. |
| children | ReactNode | undefined | Optional extra content rendered under the buttons. |
Source code is included in Pro and above