chamaac

Waves

Heroes 14

About

A shader-based animated wave background using Three.js, ideal as a hero or landing page backdrop.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Waves to your project and fits it to your theme.

Code

How Waves is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { Waves } from "@/components/ui/waves";

const settings = {
  waveSpeedX: 0.0125,
  waveSpeedY: 0.005,
  waveAmpX: 32,
  waveColor1: "#071697",
  waveColor2: "#00d4ff",
  waveColor3: "#000000",
};

export default function Demo(props: Partial<typeof settings>) {
  const s = { ...settings, ...props };
  return (
    <div className="h-screen w-screen relative">
      <Waves {...s} />
    </div>
  );
}

Dependencies

More by chamaac

View all
  • How It Works

    How It Works

    1.8K
  • Dancing Letters

    Dancing Letters

    689
  • Text Loop

    Text Loop

    310
  • Electric Mist

    Electric Mist

    57
  • Grid Bloom

    Grid Bloom

    54
  • Water Caustic

    Water Caustic

    44
  • Light Speed

    Light Speed

    41
  • Synthesis Background

    Synthesis Background

    41

More in Heroes

View all
  • SaaS Template

    SaaS Template

    2.4K
  • Responsive Hero Banner

    Responsive Hero Banner

    2K
  • Hero

    Hero

    1.2K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    932
  • Editorial Collage Hero

    Editorial Collage Hero

    431
  • Glass Fold

    Glass Fold

    213
  • HeroSectionWithGradient

    HeroSectionWithGradient

    336
  • Minimalist Hero Fashion

    Minimalist Hero Fashion

    285