Hyperiux Vault

Dotted Grid

Component 85

About

Canvas 2D dot-grid background that morphs into a new geometric shape (star, square, ring, plus, triangle) on click, with a dark cursor head and a lingering glowing trail. Pointer-type aware, respects reduced motion.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Dotted Grid to your project and fits it to your theme.

Code

How Dotted Grid is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import DottedGrid from "@/components/ui/dotted-grid";

export default function DottedGridDemo() {
  return <DottedGrid />;
}

More by Hyperiux Vault

View all
  • Product Timeline

    Product Timeline

    2.4K
  • Stack Spread

    Stack Spread

    1.3K
  • Arrow Fill Button

    Arrow Fill Button

    938
  • Interactive List Preview

    Interactive List Preview

    877
  • Shiny Button

    Shiny Button

    798
  • Circular Split Roll

    Circular Split Roll

    675
  • Zoom Slider

    Zoom Slider

    451
  • Stack Loader

    Stack Loader

    378

Explore more

Part of Hyperiux Vault — browse the full library on 21st.dev.