Effects
A smooth, animated liquid gradient background powered by the gradflow WebGL library. Blends three color stops with a silk-flow shader and a hint of noise to avoid banding. Foreground content renders in white on top. Great as a hero section background, an onboarding canvas, or a full-screen modal backdrop.
Live preview
Requires gradflow. React 18+ and Tailwind CSS v3+ assumed. Save as LiquidGradient.tsx.
Paste the prompt into the tool you already use. Each version is written specifically for that tool, matched to the same design constraints so the output stays consistent.
Build components/LiquidGradient.tsx. Client component wrapping the gradflow library (npm install gradflow). Renders a relative container (min-h-screen default, overridable via minHeight prop). Inside an absolute inset-0 layer, mount <GradFlow config={{ color1: {r:14,g:82,b:255}, color2: {r:130,g:220,b:255}, color3: {r:255,g:255,b:255}, speed: 0.9, scale: 2, type: "silk", noise: 0.16 }} />. Foreground children render on top in a relative z-10 wrapper with text-white color. Props: children, className?, minHeight?. Single default export. Font-sans. Include a comment noting the gradflow dependency.Scroll & Motion
Parallax Storytelling Hero Section
Full-screen parallax hero section for React, cinematic image reveal on scroll with a single big headline per panel.
Scroll & Motion
Sticky Scroll Stacked Cards Section
Sticky scroll cards for React feature sections, Apple-inspired stack layout where each card pins as you scroll.
Landing Sections
Apple-Style Product Hero Section
Minimal Apple-style product hero for React landing pages: display headline, one-line subtitle, two text links.
Copy the source file from the "Copy code" button and save it into your components folder. Add any listed dependencies (React 18 or later and Tailwind CSS v3 or later are always required, plus framer-motion or gradflow if the component lists them). Import and render the component wherever you want it. Every prop is optional and defaulted.
Yes. Every component takes props for its content (headline, subtitle, image URL, CTA, and so on) and uses Tailwind classes throughout, so you can restyle without touching the logic. For deeper design changes, paste the prompt into Claude Code, Cursor, Lovable, Replit, or Codex and describe your brand tokens, spacing, or motion tweaks.
Yes. Everything on this page is free to copy, adapt, and ship in commercial projects. No attribution required. If you post a public showcase we always appreciate a link back.
All five prompts produce the same design. Claude Code and Codex are best when you want the component slotted into a project with existing conventions. Cursor is ideal for editing inside your IDE with the file open. Lovable and Replit spin up a fresh preview fastest, useful for a quick play.
Yes. The source files are plain React 18 client components. They run on any framework that supports React 18 and Tailwind CSS v3. If a component needs the "use client" directive (all of them do here, since they use hooks), keep the directive at the top of the file when you paste.