A theme-aware WebGL prism field with liquid checkered motion, electric-blue refraction, and an optional tactile grain layer.
pnpm dlx shadcn@latest add @componentry/prism-gradient
speed
Animation speed multiplier. Set to 0 for a still frame.
number
1
noise
Optional grain overlay opacity and scale.
PrismGradientNoise
radius
Border radius applied to the gradient container.
string
"0px"
className
Additional CSS classes for the gradient container.
style
Additional inline styles for the gradient container.
CSSProperties
View source
Keep in mind
Need a custom component?
I build bespoke UI components & websites tailored to your brand.
import { PrismGradient } from "@/components/ui/prism-gradient"
<div className="relative min-h-[480px] overflow-hidden rounded-2xl"> <PrismGradient noise={{ opacity: 0.18, scale: 0.8 }} /> </div>