A background of folded silk made of light — very smooth gradients with broad flowing folds drifting in slow, elegant fabric motion. The folds carry deep desaturated jewel tones and catch a soft specular sheen along each crease. The pointer presses a gentle indentation into the cloth: the folds bend around the cursor and the highlights and shadows shift with it.
import GradientSilk from '@crazygl/hero-gradient-silk';
export default function Page() {
return (
<GradientSilk
heading="Woven from light."
colorA="#5b2a83"
colorB="#1f7a8c"
foldScale={1.0}
/>
);
}colorA (plum), colorB (teal), colorC (rose crest), colorDeep (shadow valleys).flowSpeed, foldScale, foldContrast, sheen.pointerDent, dentRadius (the soft cursor indentation).transparent to composite over your own page background.npm install @crazygl/hero-gradient-silkThe component takes the same props you see in the live customizer on the right — every default ships poster-quality.
import ReactiveGradientSilk from '@crazygl/hero-gradient-silk';
export default function Landing() {
return (
<ReactiveGradientSilk />
);
}The wrapper renders static HTML on the server and only initialises the canvas after hydration, so search engines see your copy.
// app/page.tsx — works in SSR-first frameworks (Next, Remix, Astro, etc.)
'use client';
import ReactiveGradientSilk from '@crazygl/hero-gradient-silk';
export default function Page() {
return (
<section>
<ReactiveGradientSilk
heading="Say hi."
subheading="Your new hero."
/>
<article>
<h2>Welcome</h2>
<p>Your content keeps its own voice below the hero.</p>
</article>
</section>
);
}