scott clayton

Sroll Animation

Heroes

About

A dynamic 3d scroll animated experience that reveals a header and call-to-action.. A procedural 3d forest scene with an old enchanted doorway. As the user scrolls the camera moves forward and the door opens to reveal a marketing message

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Sroll Animation to your project and fits it to your theme.

Code

How Sroll Animation is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import EnchantedForestHero from "@/components/ui/sroll-animation";
import React from "react";

export default function EnchantedForestHeroDemo() {
  return (
    <EnchantedForestHero
      message={{
        title: "THE THRESHOLD",
        lines: [
          "Every journey begins with a single step",
          "Through the door of possibility",
          "Into the realm of the extraordinary",
        ],
        wisdom:
          "What lies behind us and what lies before us are tiny matters compared to what lies within us.",
        author: "- Ralph Waldo Emerson",
      }}
      enableBloom
      bloomStrength={0.8}
      heightVh={300}
      showProgressIndicator
      onPhaseChange={(p) => console.log("Phase:", p)}
      onProgress={(v) => console.log("Progress:", v.toFixed(2))}
      theme={{
        // You can override to match your design system
        // background: "220 80% 2%",
        // accent: "205 100% 75%",
      }}
    />
  );
}

Dependencies

More by scott clayton

View all
  • Horizon Hero Section

    Horizon Hero Section

    4.3K
  • Full Screen Scroll FX

    Full Screen Scroll FX

    2.1K
  • Music Portfolio

    Music Portfolio

    737
  • Scroll Animated Video

    Scroll Animated Video

    561
  • Revolution Hero

    Revolution Hero

    475
  • Iphone Mockup

    Iphone Mockup

    462
  • Ethereal

    Ethereal

    415
  • Interactive Map

    Interactive Map

    403

More in Heroes

View all
  • Agency Hero Section

    Agency Hero Section

    1.1K
  • SaaS Template

    SaaS Template

    2.8K
  • AI SaaS Workflow Hero

    AI SaaS Workflow Hero

    32
  • Cabin To Sky Film Hero

    Cabin To Sky Film Hero

  • Real Estate 3D Hero

    Real Estate 3D Hero

    83
  • Hero

    Hero

    1.4K
  • Responsive Hero Banner

    Responsive Hero Banner

    2.2K
  • Chroma Sense Hero

    Chroma Sense Hero

    21