Holiday sale: 40% off Pro with code · limited offer · ends Dec 31
See ProA full-viewport hero where the headline is etched into a single pane of glass floating over blurred city lights. A click, or an automatic strike every few seconds, cracks the pane at the impact point into Voronoi shards that are denser near the hit, then they burst out with true 3D rotation, perspective, glass edge thickness, refracted background behind each piece, angle-dependent specular flashes, glass dust and gravity, before flying back along their paths and fusing with a glint. The pointer steers the light on the glass, reduced motion shows a still cracked pane and the CSS fallback shows a frosted pane.
Included in Standard and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
The copied code, markdown and prompt include the values you set here.
import { ShatterTypeHero } from "@/components/hyperblur-pro/shatter-type-hero"
<ShatterTypeHero title="BREAK" glassTint="#d6e8ff" lights={["#7a5cff", "#ff7a59"]} interval={6}>
<a href="#demo">Try it</a>
</ShatterTypeHero>| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | "Material study 04" | Pill above the scene. Empty string hides it. |
| title | string | "FRAGILE" | The word etched in the glass. |
| subtitle | string | "A headline set in a single pane of glass..." | Line under the scene. Empty string hides it. |
| glassTint | string | "#bfeee4" | Tint of the glass edges, the etched letters and the impact flash. |
| lights | string[] | ["#3d7bff", "#ff4f9a", "#ffb547", "#29d3c2"] | Colors of the blurred lights behind the glass, refracted by every shard. |
| background | string | "#04060b" | Backdrop color. |
| interval | number | 4.5 | Seconds the pane stays whole before it breaks by itself (minimum 1.5). |
| shards | number | 90 | Number of glass pieces, from 24 to 180. |
| interactive | boolean | true | Click the pane to break it where you hit, the pointer moves the light. |
| maxDpr | number | 2 | Upper limit for the canvas pixel ratio (capped at 2). |
| height | string | "100vh" | Height of the section, any CSS length. Minimum is 560px. |
| children | React.ReactNode | undefined | Optional call to action rendered under the subtitle. |
Source code is included in Standard and above