Holiday sale: 40% off Pro with code · limited offer · ends Dec 31
See ProA giant condensed headline used as a window onto a living sunset: inside the letters a WebGL sky flows from violet through hot pink to orange, a horizon sun glows behind real palm silhouettes keyed from a photo, its light glitters across the water and heat shimmer makes the lower half of the scene and the letter edges ripple. The pointer drags the sun along the horizon, a glowing script subtitle buzzes over the headline, and the letters cast a soft glow and offset shadow into the night around them. Falls back to a CSS gradient and photo clipped to the text without WebGL and freezes into a still frame under reduced motion.
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 { SunsetGradientType } from "@/components/hyperblur-pro/sunset-gradient-type"
<SunsetGradientType text="Sundown" subtitle="after hours on the coast" />| Prop | Type | Default | Description |
|---|---|---|---|
| text | string | "Sundown" | Headline. Use \n for a second line. |
| subtitle | string | "after hours on the coast" | Glowing script line over the bottom of the headline. |
| image | string | Unsplash palm beach at sunset | Photo seen through the letters; its dark shapes become silhouettes. |
| colors | [string, string, string] | ["#ff4f9a", "#ff9a3c", "#6a2bd9"] | Sunset gradient: pink middle, orange horizon, violet top. |
| horizon | number | 0.58 | Horizon line as a fraction of the height from the top. |
| shimmer | number | 1 | Strength of the heat haze distortion. 0 turns it off. |
| speed | number | 1 | Speed of the flowing gradient and shimmer. |
| interactive | boolean | true | The pointer moves the sun. |
| maxDpr | number | 1.75 | Upper limit for device pixel ratio. |
Source code is included in Pro and above