David Hakobyan

Background Gradient Snippet

Backgrounds 13

About

Here is Background Gradient Snippet component

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

Code

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

Usage.tsx

export default function Component() {
  return (
    <div className="fixed inset-0 -z-10 bg-white">
      <div className="absolute inset-0 bg-[linear-gradient(to_right,#d1d5db33_1px,transparent_1px),linear-gradient(to_bottom,#d1d5db33_1px,transparent_1px)] bg-[size:40px_40px]" />
      <div className="absolute left-1/3 top-1/3 h-[500px] w-[500px] rounded-full bg-emerald-400 opacity-20 blur-[120px]" />
    </div>
  );
}

More by David Hakobyan

View all
  • Futuristic Hero

    Futuristic Hero

    2.7K
  • Hero ASCII one

    Hero ASCII one

    1.4K
  • Hero ASCII

    Hero ASCII

    1.4K
  • Admit One Ticket

    Admit One Ticket

    1.2K
  • Border Beam

    Border Beam

    1.1K
  • Navigation Menu

    Navigation Menu

    993
  • Border Beam Search

    Border Beam Search

    709
  • Thinking Orbs

    Thinking Orbs

    514

More in Backgrounds

View all
  • Elegant Dark Pattern

    Elegant Dark Pattern

    945
  • Tailwind CSS Background Snippet

    Tailwind CSS Background Snippet

    625
  • Honey Ember Background

    Honey Ember Background

    100
  • Gradient Backgrounds

    Gradient Backgrounds

    33
  • Background snippets

    Background snippets

    118
  • Light theme Tailwind CSS Background Snippet

    Light theme Tailwind CSS Background Snippet

    261
  • Gradient Blur Bg

    Gradient Blur Bg

    23
  • Dark Gradient Background

    Dark Gradient Background

    165