Skip to content

    Browse components

    Watcher Iris

    A giant smoldering eye with a churning iris and slit pupil that tracks the cursor and blinks now and then. WebGL.

    Watcher Iris

    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/watcher-iris

    First time using @glint-ui? Add the registry to components.json once, or install by URL: npx shadcn@latest add https://glintui.vercel.app/r/watcher-iris.json

    Usage

    import { WatcherIris } from "@/components/ui/watcher-iris";
    
    <div className="relative h-96">
      <WatcherIris color="#ff4d1a" />
    </div>

    Props

    PropTypeDefaultDescription
    colorstring"#ff4d1a"Glow color of the iris and halo.
    scalenumber1Eye size multiplier.
    speednumber1Iris churn speed multiplier.
    blinkbooleantrueBlink every few seconds.
    followbooleantrueThe pupil follows the cursor.
    classNamestring—Extra classes for the root element.