Gradient Blinds
Render a pointer-lit gradient through adjustable bands of color and distortion.
blinds-demo
Overview
Gradient Blinds turns a multi-stop gradient into directional bands with noise, spotlight response, and optional warping. It works best as a decorative background for a focused hero, cover, or feature panel.
Installation
Usage
import { GradientBlinds } from "honestui/shaders"
<div className="h-80 bg-black">
<GradientBlinds
className="size-full"
gradientColors={["#ffb86b", "#f9f4e8", "#4f7cff"]}
angle={18}
blindCount={12}
mixBlendMode="normal"
/>
</div>Accessibility
Keep the effect decorative and do not rely on the moving spotlight to communicate state. The component renders a static frame when the user enables reduced motion; use paused for application-specific control. Provide a static background when WebGL is unavailable, and verify foreground text against every part of the gradient.