Background Pattern 102 - Spotlight-revealed dotsPro

Signup card where a dense dot field is invisible except inside a soft spotlight that follows the pointer and wanders on its own when idle.

About Background Pattern 102

Signup card where a dense dot field is invisible except inside a soft spotlight that follows the pointer and wanders on its own when idle.

Background Pattern 102 is a pro background pattern block for React, built on shadcn/ui and Tailwind CSS with motion animations that respect reduced-motion settings. It ships as 108 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.

  • dots
  • spotlight
  • cursor
  • signup

Installation

  1. Add the Chocolate UI registry to your components.json (see the installation guide).
  2. Run the shadcn CLI:
npx shadcn@latest add @chocolate/background-pattern-102

Dependencies installed automatically: motion.

Uses: button, input, label, reveal, utils.

Usage

import BackgroundPattern102 from "@/components/blocks/background-pattern-102"

export default function Page() {
  return <BackgroundPattern102 />
}

FAQ