Command Palette

Search for a command to run...

Docs
Wave Background

Wave Background

A flowing wave background with WebGL shaders and theme support

Installation

Usage

import WaveBackground from "@/components/ruixen/wave-background";
 
export default function App() {
  return (
    <div className="relative h-screen w-full">
      <WaveBackground darkTheme={false} resolutionScale={1.0} />
      <div className="relative z-10">{/* Your content here */}</div>
    </div>
  );
}

Props

PropTypeDefaultDescription
darkThemebooleanfalseWhether to use dark theme colors
resolutionScalenumber1.0Scale factor for rendering resolution