Serafim

Marine Foam

Heroes 16

About

Pure CSS gradient background in the Silk Blend style, made with the 21st.dev Gradient Builder. 4-color palette (#0F5C63, #3F9EA8, #A9E2D9, #EAF7F2). Features: soft blur finish, 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 Marine Foam to your project and fits it to your theme.

Code

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

Usage.tsx

import { GradientBackground } from "@/components/ui/marine-foam"

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

More by Serafim

View all
  • Spline Scene

    Spline Scene

    9.5K
  • Testimonials with Marquee

    Testimonials with Marquee

    2.3K
  • Gradient Button

    Gradient Button

    1.9K
  • Pixel Canvas

    Pixel Canvas

    900
  • Animated Blur Number

    Animated Blur Number

    830
  • Empty State

    Empty State

    775
  • Balloons

    Balloons

    755
  • Status Badge

    Status Badge

    646

More in Heroes

View all
  • SaaS Template

    SaaS Template

    2.4K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    925
  • Hero

    Hero

    1.2K
  • Responsive Hero Banner

    Responsive Hero Banner

    2K
  • Hero Section 6

    Hero Section 6

    881
  • Minimalist Hero Fashion

    Minimalist Hero Fashion

    285
  • Hero Golden Spiral

    Hero Golden Spiral

    101
  • Home Section

    Home Section

    65