landing-page

Testimonial Carousel

Auto-scrolling customer testimonial slider.

testimonial carousel social-proof slider | Gemini 3.1 Pro

Prompt

# Role
You are a Senior Frontend Engineer and Conversion Specialist with expertise in social proof components, CSS scroll mechanics, and lightweight interactive UI.

# Objective
Create an auto-scrolling testimonial carousel using CSS scroll-snap for smooth, native-feeling slide transitions — with minimal JavaScript for auto-advance and pause-on-hover functionality.

# Instructions
1. Build the carousel container:
   - Horizontal scroll container with `scroll-snap-type: x mandatory`
   - Hide scrollbar using `::-webkit-scrollbar` and `scrollbar-width: none`
   - Show exactly 1 testimonial at a time (full-width slides)
2. Create each testimonial slide:
   - Large quote text (in quotation marks or with a quote icon)
   - Author section below the quote:
     - Avatar (circular, 48px)
     - Author name (bold)
     - Role and company (muted text)
   - Each slide snaps with `scroll-snap-align: center`
3. Add navigation dots:
   - Horizontal row of dots below the carousel
   - Active dot: filled accent color, slightly larger
   - Inactive dots: muted outline or smaller
   - Clicking a dot scrolls to the corresponding slide
4. Implement auto-advance behavior:
   - Auto-scroll to the next slide every 5 seconds
   - Pause auto-advance on hover
   - Resume auto-advance when mouse leaves
   - Loop back to the first slide after the last
5. Style in dark mode:
   - Dark background for the carousel section
   - Quote text in light color, author details in muted tones
   - Subtle card or section background to frame each testimonial

# Constraints
- CSS-first approach: use `scroll-snap` for sliding — not JavaScript-based transforms
- Minimal JavaScript: only for auto-advance timer and dot click handlers
- No external dependencies or frameworks
- Show exactly 1 testimonial at a time for maximum focus
- Include 4–5 testimonial slides with realistic placeholder content
- Accessible: `aria-label` on the carousel, `role="tablist"` on dots

# Output Format
- Single HTML file with embedded `<style>` and `<script>` blocks
- Include 4–5 realistic testimonials (SaaS or tech product theme)
- Well-commented code with clear sections for layout, animation, and interaction

Notes

Prompt

Role

You are a Senior Frontend Engineer and Conversion Specialist with expertise in social proof components, CSS scroll mechanics, and lightweight interactive UI.

Objective

Create an auto-scrolling testimonial carousel using CSS scroll-snap for smooth, native-feeling slide transitions — with minimal JavaScript for auto-advance and pause-on-hover functionality.

Instructions

  1. Build the carousel container:
    • Horizontal scroll container with scroll-snap-type: x mandatory
    • Hide scrollbar using ::-webkit-scrollbar and scrollbar-width: none
    • Show exactly 1 testimonial at a time (full-width slides)
  2. Create each testimonial slide:
    • Large quote text (in quotation marks or with a quote icon)
    • Author section below the quote:
      • Avatar (circular, 48px)
      • Author name (bold)
      • Role and company (muted text)
    • Each slide snaps with scroll-snap-align: center
  3. Add navigation dots:
    • Horizontal row of dots below the carousel
    • Active dot: filled accent color, slightly larger
    • Inactive dots: muted outline or smaller
    • Clicking a dot scrolls to the corresponding slide
  4. Implement auto-advance behavior:
    • Auto-scroll to the next slide every 5 seconds
    • Pause auto-advance on hover
    • Resume auto-advance when mouse leaves
    • Loop back to the first slide after the last
  5. Style in dark mode:
    • Dark background for the carousel section
    • Quote text in light color, author details in muted tones
    • Subtle card or section background to frame each testimonial

Constraints

  • CSS-first approach: use scroll-snap for sliding — not JavaScript-based transforms
  • Minimal JavaScript: only for auto-advance timer and dot click handlers
  • No external dependencies or frameworks
  • Show exactly 1 testimonial at a time for maximum focus
  • Include 4–5 testimonial slides with realistic placeholder content
  • Accessible: aria-label on the carousel, role="tablist" on dots

Output Format

  • Single HTML file with embedded <style> and <script> blocks
  • Include 4–5 realistic testimonials (SaaS or tech product theme)
  • Well-commented code with clear sections for layout, animation, and interaction

Notes

  • Use scroll-snap-type: x mandatory for native-feeling snap behavior.
  • Limit to 1 visible testimonial at a time for maximum impact and focus.
  • The auto-advance timer should reset when a user manually navigates (click or scroll).

Related Prompts

View prompt details

Feature Showcase Section

Icon-based feature grid with hover lift effect.

# Role You are a Senior Frontend Engineer and Conversion Specialist with expertise in landing page design and visual hierarchy optimization. # Objective Build a feature showcase section that presents product or service features in a visually compelling 3-column grid with icon-driven cards, hover interactions, and responsive behavior. # Instructions 1. Create a section with a centered heading and subheading: - Section title: bold, large (e.g., "Why Choose Us" or "Features") - Subtitle: muted, descriptive one-liner beneath the title 2. Build a 3-column grid of feature cards: - Each card contains: - Icon container: 48x48px circle or rounded square with gradient background - SVG icon inside the container (use Lucide or Heroicons style) - Feature title: bold, concise (3–5 words) - Feature description: muted text, 1–2 sentences (under 20 words) 3. Add hover interactions on each card: - Subtle upward lift (`translateY(-4px)`) - Increased `box-shadow` for depth - Smooth transition (200ms ease) 4. Style with a dark-mode-first design: - Dark card backgrounds with subtle borders - Gradient icon containers using brand-compatible accent colors - Consistent spacing and alignment across all cards 5. Ensure responsive layout: - 1 column on mobile (<640px) - 2 columns on tablet (640px–1024px) - 3 columns on desktop (>1024px) # Constraints - Use semantic HTML (`<section>`, `<article>`, `<h3>`, `<p>`) - CSS Grid or Flexbox for layout — no JavaScript required - Use inline SVG icons or placeholder icon containers — do not rely on external icon CDNs - Keep all descriptions under 20 words for scannability - 6 feature cards total (2 rows of 3) for visual balance # Output Format - Single HTML file with embedded `<style>` block - Include 6 placeholder features with realistic SaaS content - Well-indented code with comments for each section

features icons grid +1
GPT 5.3 Ultra
View prompt details

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

hero gradient landing +1
Claude 4.6 Opus