David Hakobyan

Background Gradient Snippet

Backgrounds 45

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-black">
      <div className="absolute inset-0 bg-[radial-gradient(circle_700px_at_50%_200px,rgba(96,165,250,0.25),transparent)]" />
      <div className="absolute inset-0 bg-[radial-gradient(circle_400px_at_70%_500px,rgba(244,114,182,0.3),transparent)]" />
    </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

    990
  • Border Beam Search

    Border Beam Search

    707
  • Thinking Orbs

    Thinking Orbs

    511

More in Backgrounds

View all
  • Elegant Dark Pattern

    Elegant Dark Pattern

    944
  • Light theme Tailwind CSS Background Snippet

    Light theme Tailwind CSS Background Snippet

    259
  • Honey Ember Background

    Honey Ember Background

    100
  • Gradient Backgrounds

    Gradient Backgrounds

    33
  • Tailwind CSS Background Snippet

    Tailwind CSS Background Snippet

    623
  • Gradient Blur Bg

    Gradient Blur Bg

    23
  • Background snippets

    Background snippets

    117
  • Dark Gradient Background

    Dark Gradient Background

    164