TetraKits UI Film Grain Gradient ← Library

Film Grain Gradient

Cinematic zinc-to-emerald gradient with SVG fractal noise film grain overlay. Tactile premium background for brand sites, agencies, and editorial-style landing pages. mix-blend-overlay grain texture.

film grain backgroundnoise texture reactcinematic gradient bgpremium grain overlaybrand site background
Live preview

Dependencies

react
npm install react react-dom
export function FilmGrainBackground({ children }: { children?: React.ReactNode }) {
  return (
    <div className="relative min-h-screen overflow-hidden bg-gradient-to-br from-zinc-900 via-zinc-950 to-emerald-950">
      <div
        className="pointer-events-none absolute inset-0 opacity-[0.35] mix-blend-overlay"
        style={{
          backgroundImage: `url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")`,
        }}
        aria-hidden
      />
      <div className="pointer-events-none absolute inset-0 bg-[radial-gradient(ellipse_at_30%_20%,rgba(16,185,129,0.15),transparent_50%)]" aria-hidden />
      {children && <div className="relative z-10">{children}</div>}
    </div>
  );
}