DocsHero BackgroundsHero Geometric

Hero Geometric

A geometric hero background inspired by premium editorial designs, featuring a custom WebGL shader with Simplex noise for fluid, organic movement.

Installation

pnpm dlx shadcn@latest add @componentry/hero-geometric

Dependencies: @react-three/fiber three

Usage

import { HeroGeometric } from "@/components/ui/hero-geometric"

<HeroGeometric 
    color1="#3B82F6" 
    color2="#F0F9FF" 
/>

API Reference

PropTypeDefault
color1string

Primary color for the gradient shader.

"#3B82F6"
color2string

Secondary color for the gradient shader.

"#F0F9FF"
speednumber

Animation speed multiplier for the shader noise.

1
classNamestring

Additional CSS classes for the container.

—

Keep in mind

This component is inspired by various open-source projects and patterns. Please verify licenses and implementation details before using in production.

Need a custom component?

I build bespoke UI components & websites tailored to your brand.

DM me on X
PreviousDither Prism HeroNextLiquid Chrome