Manu Arora

Container Scroll Animation

Heroes 10.9K

About

A scroll animation that rotates in 3d on scroll. Perfect for hero or marketing sections.

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

Code

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

Usage.tsx

"use client";
import React from "react";
import { ContainerScroll } from "@/components/ui/container-scroll-animation";
import Image from "next/image";

export function HeroScrollDemo() {
  return (
    <div className="flex flex-col overflow-hidden pb-[500px] pt-[1000px]">
      <ContainerScroll
        titleComponent={
          <>
            <h1 className="text-4xl font-semibold text-black dark:text-white">
              Unleash the power of <br />
              <span className="text-4xl md:text-[6rem] font-bold mt-1 leading-none">
                Scroll Animations
              </span>
            </h1>
          </>
        }
      >
        <Image
          src={`https://ui.aceternity.com/_next/image?url=%2Flinear.webp&w=3840&q=75`}
          alt="hero"
          height={720}
          width={1400}
          className="mx-auto rounded-2xl object-cover h-full object-left-top"
          draggable={false}
        />
      </ContainerScroll>
    </div>
  );
}

Dependencies

More by Manu Arora

View all
  • Aurora Background

    Aurora Background

    4.7K
  • Glowing Effect

    Glowing Effect

    4.5K
  • Timeline

    Timeline

    4.5K
  • Sparkles

    Sparkles

    4.3K
  • Sidebar

    Sidebar

    3.9K
  • Lamp

    Lamp

    3.9K
  • Bento Grid

    Bento Grid

    2.9K
  • Link Preview

    Link Preview

    2.3K

More in Heroes

View all
  • Agency Hero Section

    Agency Hero Section

    1.1K
  • Real Estate 3D Hero

    Real Estate 3D Hero

    89
  • Responsive Hero Banner

    Responsive Hero Banner

    2.2K
  • SaaS Template

    SaaS Template

    2.8K
  • AI SaaS Workflow Hero

    AI SaaS Workflow Hero

    37
  • App Integration Celestial Hero

    App Integration Celestial Hero

    17
  • Chroma Sense Hero

    Chroma Sense Hero

    23
  • Hero

    Hero

    1.4K