Motoko UI Released — Explore the components

Waves Shader

Soft animated waves — a zero-dependency WebGL canvas background.

Installation

pnpm dlx shadcn@latest add @motokoui/waves-shader

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

PropTypeDefault
classNamestring