Gradient Blinds
Documentation Index
Fetch the complete documentation index at: /llms.txt. Use this file to discover all available pages before exploring further.
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. Set paused when motion should stop, and verify foreground text against every part of the gradient.