Holiday sale: 40% off Pro with code · limited offer · ends Dec 31
See ProA tall slab of liquid glass stands in a real brutalist courtyard photo, rendered in a raw WebGL shader. Its surface mixes a mirrored reflection of the courtyard with a refracted, color-mapped view of a different room, split into drifting red, green and blue copies with prismatic rainbow fringes along its edges, a slow liquid ripple, a moving sheen, a steel frame, a concrete side face, a contact shadow and colored light spilling onto the ground while the air around it bends. Hovering makes the surface ripple toward the pointer, a click sends a ring through it and swaps the courtyard with the room inside, reduced motion renders a still frame and a CSS glass slab stands in without WebGL.
Included in Pro 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 { ThresholdMirror } from "@/components/hyperblur-pro/threshold-mirror"
<ThresholdMirror
title="The surface looks back"
tint="#44d9ff"
prism={1.4}
actions={[{ label: "Step through", href: "/enter" }]}
/>| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | "Passage 09" | Mono code above the headline. Empty string hides the line. |
| title | string | "The surface looks back" | Headline. The last two words get a prismatic gradient. |
| subtitle | string | "A slab of liquid glass stands in a courtyard of raw concrete..." | Paragraph under the headline. Empty string hides it. |
| actions | { label: string; href?: string }[] | [{ label: "Step through" }, { label: "Survey notes" }] | Up to two buttons. The first one is filled. |
| images | string[] | [3 Unsplash brutalist courtyards] | Photos (CORS enabled). The first is the courtyard, the second is the room inside the glass; clicks rotate through all of them. |
| tint | string | "#44d9ff" | Cold color of the glass, halo and highlight fringes. |
| accent | string | "#e0261b" | Warm color for the shadows inside the glass and the ground spill. |
| ripple | number | 1 | Strength of the liquid ripple, from 0 to 3. |
| prism | number | 1 | Amount of RGB split and rainbow fringes, from 0 to 3. |
| interactive | boolean | true | Hover ripples toward the pointer and clicks swap the two rooms. |
| maxDpr | number | 1.5 | Upper limit for the canvas pixel ratio (capped at 2). |
| height | string | "100vh" | Height of the section, any CSS length. Minimum is 620px. |
Source code is included in Pro and above