Holiday sale: 40% off Pro with code · limited offer · ends Dec 31
See ProA warm stucco wall at golden hour with the shadows of two palm crowns swaying across it, rendered in a WebGL shader: every frond is built from tapered, drooping leaflets that flutter in gusty wind, penumbras soften with distance, a ringed trunk shadow climbs from the corner and dappled sun spots drift through the far canopy. The plaster catches raking light, shadows take a cool violet bounce and the pointer slightly shifts the sun so the shadows slide in parallax. Falls back to a CSS wall with a soft swaying shadow pattern without WebGL and renders 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 { PalmShadowBg } from "@/components/hyperblur-pro/palm-shadow-bg"
<div style={{ position: "relative", height: "100vh" }}>
<PalmShadowBg wallColor="#efb398" wind={1}>
<h1>Golden hour</h1>
</PalmShadowBg>
</div>| Prop | Type | Default | Description |
|---|---|---|---|
| wallColor | string | "#efb398" | Base colour of the plaster wall. |
| lightColor | string | "#ffd49a" | Golden-hour sunlight tint. |
| shadowColor | string | "#5a4590" | Sky bounce colour inside the shadows. |
| wind | number | 1 | Wind speed for swaying fronds and fluttering leaflets. 0 freezes them. |
| softness | number | 1 | Penumbra width. Higher gives blurrier, farther shadows. |
| shadowStrength | number | 0.86 | How dark the shadows are, from 0 to 1. |
| dapple | boolean | true | Adds a far canopy with drifting sun spots. |
| interactive | boolean | true | The pointer shifts the sun so shadows slide in parallax. |
| maxDpr | number | 1.5 | Upper limit for device pixel ratio. |
Source code is included in Pro and above