amirhossein asadi

1 Gradient

Component 7

About

Pure CSS gradient background in the Bloom Field style, made with the 21st.dev Gradient Builder. 4-color palette (#FCE4EC, #F7B7D2, #BFD8F2, #E3D5F5). Features: film grain. A drop-in, zero-dependency React component for hero sections, cards, and page backgrounds.

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

Code

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

Usage.tsx

import { GradientBackground } from "@/components/ui/1-gradient"

export default function GradientBackgroundDemo() {
  return (
    <div className="relative h-[440px] w-full overflow-hidden rounded-xl">
      <GradientBackground className="h-full w-full" />
    </div>
  )
}