Hyperiux Vault

Dotted Grid

Component 83

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.3K
  • Stack Spread

    Stack Spread

    1.3K
  • Arrow Fill Button

    Arrow Fill Button

    910
  • Interactive List Preview

    Interactive List Preview

    867
  • Shiny Button

    Shiny Button

    739
  • Circular Split Roll

    Circular Split Roll

    635
  • Zoom Slider

    Zoom Slider

    427
  • Stack Loader

    Stack Loader

    371

Explore more

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