Components
Loading preview...
import { Waves } from "@/components/ui/waves";
const WavesDemo = () => {
return (
<div className="w-screen h-screen bg-neutral-900 relative">
<Waves
lineColor="#555"
backgroundColor="rgba(25, 25, 30, 0.1)"
waveSpeedX={0.02}
waveSpeedY={0.01}
waveAmpX={50}
waveAmpY={25}
friction={0.92}
tension={0.015}
maxCursorMove={100}
xGap={14}
yGap={38}
className="custom-waves-class"
/>
<div className="absolute bottom-4 right-4 text-xs text-neutral-500 bg-black/50 p-2 rounded">
Interactive Waves
</div>
</div>
);
};
export { WavesDemo };