Stripe-style Animated Hero
Modern SaaS hero with gradients and motion
Prompt
# Role
You are a Senior Frontend Developer and Animation Expert specializing in premium SaaS landing pages, motion design, and high-fidelity UI implementation.
# Objective
Create a modern SaaS landing page hero section inspired by Stripe's design language — featuring smooth gradient backgrounds, animated wave elements, clean typography, and a visually dense layered dark-mode aesthetic.
# Instructions
1. Build a full-viewport hero section:
- Dark background with layered gradient effects (multiple overlapping gradients)
- Animated wave or mesh elements using CSS or SVG (subtle, continuous motion)
- Depth through overlapping translucent layers
2. Add the content area (centered, max-width constrained):
- Overline text: small label or badge (e.g., "Now Available" or "v2.0")
- Headline: large, bold, clean typography with a modern font stack
- Subtitle: 1–2 lines in muted color beneath the headline
- Dual CTA buttons: primary (filled gradient) and secondary (ghost/outline)
3. Implement animated elements:
- Smooth gradient background shift (slow, infinite animation)
- Floating wave or blob shapes in the background (CSS animation or SVG)
- Optional: subtle particle or dot grid effect
4. Typography requirements:
- Modern font stack: `Inter`, `-apple-system`, `BlinkMacSystemFont`, `sans-serif`
- Large headline: `clamp(2.5rem, 5vw, 4.5rem)` for responsive sizing
- Proper font weights: 700–800 for headline, 400 for body
5. Ensure visual density:
- Multiple overlapping layers create depth (not flat or sparse)
- Accent glow effects behind CTAs or headline
- Subtle noise texture overlay (optional) for richness
# Constraints
- Tailwind CSS for layout and typography; custom CSS for animations
- Dark mode only — no light mode variant
- Animations must be smooth and GPU-accelerated (`will-change`, `transform`)
- Performance: no heavy libraries — CSS animations and SVG only
- Responsive: works on all screen sizes with fluid typography
- Keep animations subtle — they should enhance, not distract
# Output Format
- Single HTML file with Tailwind CSS CDN and embedded `<style>` for animations
- Include realistic SaaS placeholder content (fintech or developer platform theme)
- Well-commented code separating layout, animations, and content sections Notes
Prompt
Role
You are a Senior Frontend Developer and Animation Expert specializing in premium SaaS landing pages, motion design, and high-fidelity UI implementation.
Objective
Create a modern SaaS landing page hero section inspired by Stripe’s design language — featuring smooth gradient backgrounds, animated wave elements, clean typography, and a visually dense layered dark-mode aesthetic.
Instructions
- Build a full-viewport hero section:
- Dark background with layered gradient effects (multiple overlapping gradients)
- Animated wave or mesh elements using CSS or SVG (subtle, continuous motion)
- Depth through overlapping translucent layers
- Add the content area (centered, max-width constrained):
- Overline text: small label or badge (e.g., “Now Available” or “v2.0”)
- Headline: large, bold, clean typography with a modern font stack
- Subtitle: 1–2 lines in muted color beneath the headline
- Dual CTA buttons: primary (filled gradient) and secondary (ghost/outline)
- Implement animated elements:
- Smooth gradient background shift (slow, infinite animation)
- Floating wave or blob shapes in the background (CSS animation or SVG)
- Optional: subtle particle or dot grid effect
- Typography requirements:
- Modern font stack:
Inter,-apple-system,BlinkMacSystemFont,sans-serif - Large headline:
clamp(2.5rem, 5vw, 4.5rem)for responsive sizing - Proper font weights: 700–800 for headline, 400 for body
- Modern font stack:
- Ensure visual density:
- Multiple overlapping layers create depth (not flat or sparse)
- Accent glow effects behind CTAs or headline
- Subtle noise texture overlay (optional) for richness
Constraints
- Tailwind CSS for layout and typography; custom CSS for animations
- Dark mode only — no light mode variant
- Animations must be smooth and GPU-accelerated (
will-change,transform) - Performance: no heavy libraries — CSS animations and SVG only
- Responsive: works on all screen sizes with fluid typography
- Keep animations subtle — they should enhance, not distract
Output Format
- Single HTML file with Tailwind CSS CDN and embedded
<style>for animations - Include realistic SaaS placeholder content (fintech or developer platform theme)
- Well-commented code separating layout, animations, and content sections
Notes
- Optimized for Claude — structured to produce best results with AI code generation.
- Use a modern typography stack with
Interor system fonts for the Stripe aesthetic. - Animated waves/blobs should be subtle and slow — the content remains the focus.
Related Prompts
Creative 404 Page
Animated 404 error page with illustration and navigation hints.
# Role You are a Senior Frontend Developer and Creative Technologist specializing in delightful error states, CSS illustration, and engagement-focused micro-interactions. # Objective Design a creative, animated 404 error page with a CSS-only illustration, engaging copy, helpful navigation links, and a search bar — turning a dead end into a pleasant experience. # Instructions 1. Create a centered full-viewport layout: - Vertically and horizontally centered content - Dark background with a subtle radial gradient for depth 2. Build a CSS-only illustration: - Animated astronaut, floating robot, or broken chain link (pick one) - Use CSS shapes (`border-radius`, `clip-path`, `transform`) — no image files - Add a gentle floating animation (`translateY` oscillation, 3–4 second loop) - Optional: animated stars or particles in the background using CSS 3. Add the error message content: - Large "404" number with gradient text or glow effect - Headline: witty message (e.g., "Lost in space" or "This page took a wrong turn") - Subtitle: helpful explanation in muted text 4. Include navigation aids: - Search bar: compact input with search icon and placeholder "Search for pages..." - Quick links row: "Home", "Blog", "Docs", "Support" as pill-shaped buttons - "Go Back" button using `history.back()` with a left arrow icon 5. Add micro-interactions: - Illustration reacts to mouse movement (subtle parallax via CSS or minimal JS) - Buttons have hover scale + glow effects - Search input expands on focus # Constraints - Illustration must be CSS-only — no SVGs, images, or icon fonts - Minimal JavaScript (parallax mouse tracking only — everything else in CSS) - Semantic HTML with proper heading hierarchy - The page must feel alive and engaging, not like a dead end - Dark mode only - Responsive: illustration scales down on mobile, links stack vertically # Output Format - Single HTML file with embedded `<style>` and `<script>` blocks - Well-commented code with sections: illustration CSS, layout, animations, interactivity - Include all navigation links as working `<a>` tags with `href="#"` placeholders
Gradient Hero Section
A bold hero section with animated gradient background.
# Role You are a Senior Frontend Engineer and Conversion Specialist with expertise in high-impact landing page design and CSS animation. # Objective Design a bold, full-width hero section with an animated gradient background, attention-grabbing typography, and dual CTA buttons — optimized for conversions and visual impact. # Instructions 1. Create a full-viewport hero section (`min-height: 100vh`): - Animated gradient background using `@keyframes` with slow color shift - Use `background-size: 400% 400%` for smooth, seamless animation - Animation duration: 15–20 seconds, infinite loop 2. Add centered content with vertical alignment: - Large headline with gradient text effect (`background-clip: text`) - Keep headline under 8 words for maximum impact - Subtitle beneath in muted secondary color, max 2 lines - Optional: small badge or label above the headline (e.g., "New Release" or "v2.0") 3. Add two CTA buttons side by side: - Primary button: filled with accent color, bold text, hover brightness increase - Secondary button: outline/ghost style with border, hover fill transition - Both buttons with rounded corners and consistent padding 4. Responsive behavior: - Desktop: content centered with max-width constraint - Mobile: stack buttons vertically, reduce headline font size - Maintain comfortable padding on all screen sizes # Constraints - Dark mode first design — no light mode variant needed - Pure CSS animations — no JavaScript for the gradient effect - Use semantic HTML: `<section>`, `<h1>`, `<p>`, `<a>` or `<button>` - Headline must use `background-clip: text` with `-webkit-background-clip: text` for gradient text - Ensure text remains readable over the animated gradient at all animation frames - No external dependencies # Output Format - Single HTML file with embedded `<style>` block - Include realistic placeholder content (SaaS or product launch theme) - Well-commented CSS with named `@keyframes` animation - Responsive breakpoints at 640px and 1024px
Animated Progress Bar
A smooth animated progress bar with percentage label and striped variant.
# Role You are a Senior Frontend Developer specializing in loading states, progress feedback, and CSS animations. # Objective Build an animated progress bar component with smooth fill animation, percentage label, and striped/indeterminate variants — designed for file uploads, loading states, and process tracking. # Instructions 1. Create the progress bar container: - Wrapper element with rounded corners - Dark track background (unfilled portion) - Accessible with proper labeling 2. Build the progress bar fill: - Colored fill representing the percentage - Smooth transition when value changes - Support values from 0% to 100% 3. Add percentage label: - Display current percentage on or beside the bar - Update in sync with the fill animation - Option to show inside or outside the bar 4. Implement striped variant: - Diagonal stripes pattern on the fill - Optional: animated stripes that move (CSS animation) 5. Add indeterminate state: - Pulsing or sliding animation when progress is unknown - Different visual treatment to indicate unknown duration # Constraints - Use CSS transitions or animations — no JavaScript animation libraries - `role="progressbar"` with `aria-valuenow`, `aria-valuemin`, `aria-valuemax` attributes - `aria-label` describing what is being tracked - Tailwind CSS only — no custom CSS - Include demo with buttons to adjust progress # Output Format - Single HTML file using Tailwind CSS CDN - Include multiple variants: determinate, striped, indeterminate - Well-commented code with clear sections for each variant
Scroll Reveal Animations
Intersection Observer-based fade-in animations.
# Role You are an Elite Creative Technologist and Animation Expert specializing in scroll-based interactions, performance-optimized animations, and the Intersection Observer API. # Objective Build a reusable scroll-reveal animation system that fades in and slides up elements as they enter the viewport, with staggered delays for grid children and GPU-accelerated performance. # Instructions 1. Define the CSS animation classes: - `.reveal`: initial hidden state (`opacity: 0`, `transform: translateY(30px)`) - `.revealed`: visible state (`opacity: 1`, `transform: translateY(0)`) - Transition: 600ms ease-out on both opacity and transform - Add `will-change: transform, opacity` for GPU acceleration 2. Implement the Intersection Observer in vanilla JavaScript: - Observe all elements with the `.reveal` class - When an element enters the viewport, add the `.revealed` class - Configuration options: - `threshold: 0.15` (triggers when 15% visible — early enough to feel responsive) - `rootMargin: '0px 0px -50px 0px'` (slight offset from bottom) 3. Add staggered animation for grid children: - Elements with `data-reveal-delay` attribute get incremental delays - Auto-calculate delays for children: each child gets `index * 100ms` delay - Apply via inline `transition-delay` style 4. Support multiple animation variants: - `data-reveal="up"`: slide up (default) - `data-reveal="left"`: slide in from left - `data-reveal="right"`: slide in from right - `data-reveal="fade"`: fade only, no slide 5. Unobserve elements after they are revealed (one-time animation) # Constraints - Vanilla JavaScript only — no libraries or frameworks - CSS classes only: `.reveal` and `.revealed` — no inline style manipulation except `transition-delay` - Must be performant: use `will-change` and avoid layout-triggering properties - Do not animate elements that are already in the viewport on page load (reveal immediately) - Keep the JavaScript under 50 lines for easy copy-paste reuse - Works with any HTML structure — not tied to specific markup # Output Format - Single HTML file with embedded `<style>` and `<script>` blocks - Include a demo page with multiple sections and a grid to showcase all animation variants - Well-commented code with clear configuration section at the top