bagherifarzad

Dot Matrix

Heroes

About

A decorative radial-gradient dot grid background with an optional radial fade mask, used behind hero sections and cards.

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

Code

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

Usage.tsx

import { DotMatrix } from "@/components/ui/dot-matrix";

export default function DotMatrixDemo() {
  return (
    <div className="relative w-full h-screen bg-background">
      <DotMatrix className="absolute inset-0" />
    </div>
  );
}

More by bagherifarzad

View all
  • Gradient Mesh

    Gradient Mesh

    15
  • Noise Field

    Noise Field

More in Heroes

View all
  • Responsive Hero Banner

    Responsive Hero Banner

    2.1K
  • SaaS Template

    SaaS Template

    2.6K
  • Hero 03

    Hero 03

    353
  • Hero

    Hero

    1.3K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1K
  • Hero Section

    Hero Section

    438
  • Hero with text and two button

    Hero with text and two button

    115
  • Editorial Collage Hero

    Editorial Collage Hero

    482