A geometric hero background inspired by premium editorial designs, featuring a custom WebGL shader with Simplex noise for fluid, organic movement.
pnpm dlx shadcn@latest add @componentry/hero-geometricDependencies: @react-three/fiber three
import { HeroGeometric } from "@/components/ui/hero-geometric"
<HeroGeometric
color1="#3B82F6"
color2="#F0F9FF"
/>| Prop | Type | Default |
|---|---|---|
color1 | stringPrimary color for the gradient shader. | "#3B82F6" |
color2 | stringSecondary color for the gradient shader. | "#F0F9FF" |
speed | numberAnimation speed multiplier for the shader noise. | 1 |
className | stringAdditional CSS classes for the container. | — |
Keep in mind
Need a custom component?
I build bespoke UI components & websites tailored to your brand.