Shaban

Gradient Dots

Backgrounds 1.1K

About

A lively field of tiny, colorful dots that shimmer, shift, and cycle through the rainbow. Powered by Framer Motion for smooth endless animation and customizable spacing, size, and speed.

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

Code

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

Usage.tsx

import { GradientDots } from "@/components/ui/gradient-dots";

export default function DefaultDemo() {
	return (
		<main className="relative flex size-full min-h-screen w-full items-center justify-center">
			<GradientDots duration={20} />
			<h1 className="text-6xl text-center font-extrabold z-10">Gradient Dots</h1>
		</main>
	);
}

Dependencies

More by Shaban

View all
  • Testimonials Columns

    Testimonials Columns

    7.1K
  • Zoom Parallax

    Zoom Parallax

    5.4K
  • Dotted Surface

    Dotted Surface

    3.6K
  • Footer Section

    Footer Section

    2.7K
  • Grid Feature Cards

    Grid Feature Cards

    1.9K
  • Logo Cloud 2

    Logo Cloud 2

    1.8K
  • Header 3

    Header 3

    1.7K
  • Logo Cloud 3

    Logo Cloud 3

    1.5K

More in Backgrounds

View all
  • Elegant Dark Pattern

    Elegant Dark Pattern

    940
  • Background snippets

    Background snippets

    19
  • Gradient Backgrounds

    Gradient Backgrounds

    33
  • Background Components

    Background Components

    28
  • Honey Ember Background

    Honey Ember Background

    100
  • Tailwind CSS Background Snippet

    Tailwind CSS Background Snippet

    622
  • LivingOrigami bg

    LivingOrigami bg

    165
  • Gradient Blur Bg

    Gradient Blur Bg

    23