Installation
Usage
import { ShaderBackground } from "@/components/ui/waves-shader"
export default function Example() {
return (
<div className="relative h-screen w-full overflow-hidden">
<ShaderBackground className="absolute inset-0 size-full" />
<div className="relative z-10">{/* your content */}</div>
</div>
)
}Props
| Prop | Type | Default |
|---|---|---|
className | string | — |