An ultra-lightweight, zero-banding domain-warped GLSL gradient mesh inspired by Stripe, Linear, and Vercel — pairing silky flowing aurora ribbons, cursor radial spotlight, optional 1px grid, and film grain.
// Drop the standalone stripe-fluid-hero.html into /public/effects/stripe-fluid-hero.html
// Or copy the HTML/CSS/JS tab directly into your component — zero external dependencies.
export function StripeFluidHeroEmbed() {
return (
<div className="relative min-h-[480px] w-full overflow-hidden rounded-2xl border border-white/10">
<iframe
src="/effects/stripe-fluid-hero.html"
title="Linear Aurora Mesh"
className="h-full min-h-[480px] w-full border-0"
loading="lazy"
/>
</div>
)
}Loading single-file HTML…
Create a single-file interactive WebGL SaaS hero background using Three.js (via ES module CDN) inspired by Stripe, Linear, and Vercel on a deep obsidian canvas (#070910). - Shader Craft: Render a full-viewport orthographic PlaneGeometry driven by a custom GLSL fragment ShaderMaterial using smooth domain-warped fluid ribbons, subtle film grain to eliminate color banding, and an optional crisp 1px architectural hairline grid illuminated by the visitor's cursor spotlight. - Theme Switcher: Floating bottom glassmorphic pill dock smoothly lerping across 4 production SaaS brand palettes (Linear Indigo #6366f1→#38bdf8, Vercel Cyan, Emerald Cloud, Warm Amber) plus a top-right Hairline Grid toggle. - Performance & Polish: Featherweight single-pass fragment shader locked at 60fps even on mobile GPUs, responsive resize, and fullscreen Zen Mode toggle (Z).
WHY THIS WORKS IN PRODUCTION
- Single-pass domain-warped GLSL shader — runs smoothly even on mobile GPUs
- Cursor-tracking radial spotlight illuminating a crisp 1px architectural grid
- 4 production SaaS palettes + tactile anti-banding film grain
- Designed specifically to sit cleanly behind Hero H1 headlines & CTAs
DROP-IN SPECS // WEB & MOBILE FIT








