Skip to content

    Browse components

    Neon Checker

    A grid of rounded squares cycling through acid neon colors in interfering waves; the cursor lights them up. WebGL.

    Neon Checker

    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/neon-checker

    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/neon-checker.json

    Usage

    import { NeonChecker } from "@/components/ui/neon-checker";
    
    <div className="relative h-96">
      <NeonChecker cellSize={28} />
    </div>

    Props

    PropTypeDefaultDescription
    colorsstring[]["#c6ff3d","#00e5ff","#ff2bd6","#ffb800"]Up to four colors the squares cycle through.
    cellSizenumber28Square size in px, gap included.
    gapnumber4Gap between squares in px.
    speednumber1Wave speed multiplier.
    cursorRadiusnumber180Px radius the cursor lights up.
    classNamestring—Extra classes for the root element.