Ajith k v

ImgText Reveal Scroll Animation

Text 94

About

Scroll-driven text and inline image reveal animation using GSAP ScrollTrigger with floating magnetic cursor hover preview.

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

Code

How ImgText Reveal 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 ImageTextReveal from '@/components/ui/imgtext-reveal-scroll-animation';

export default function ImageTextRevealDemo() {
  return (
    <div className="min-h-screen w-full bg-white text-zinc-900 font-sans selection:bg-black selection:text-white">
      {/* 1. INTRO SECTION */}
      <section className="min-h-screen w-full flex flex-col justify-center items-center text-center px-6 sm:px-16 md:px-28 lg:px-44 xl:px-60">
        <div className="max-w-4xl mx-auto space-y-6">
          <span className="text-xs font-mono tracking-widest text-zinc-400 uppercase block">
            [ SECTION 01 // INTRO ]
          </span>

          <h1 className="text-2xl sm:text-4xl md:text-5xl lg:text-6xl font-bold tracking-tight text-zinc-900 leading-tight">
            Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor.
          </h1>

          <p className="text-base sm:text-xl md:text-2xl text-zinc-500 font-normal leading-relaxed max-w-3xl mx-auto">
            Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur excepteur sint occaecat.
          </p>
        </div>
      </section>

      {/* 2. CENTER ANIMATION SECTION */}
      <ImageTextReveal />

      {/* 3. OUTRO SECTION */}
      <section className="min-h-screen w-full flex flex-col justify-center items-center text-center px-6 sm:px-16 md:px-28 lg:px-44 xl:px-60">
        <div className="max-w-4xl mx-auto space-y-6">
          <span className="text-xs font-mono tracking-widest text-zinc-400 uppercase block">
            [ SECTION 02 // OUTRO ]
          </span>

          <h2 className="text-2xl sm:text-4xl md:text-5xl lg:text-6xl font-bold tracking-tight text-zinc-900 leading-tight">
            Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque.
          </h2>

          <p className="text-base sm:text-xl md:text-2xl text-zinc-500 font-normal leading-relaxed max-w-3xl mx-auto">
            Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit sed quia consequuntur magni dolores eos.
          </p>
        </div>
      </section>
    </div>
  );
}

Dependencies

More by Ajith k v

View all
  • Hero Scroll Video Pin Reveal

    Hero Scroll Video Pin Reveal

    992
  • Lip-scroll-zoomin-animation

    Lip-scroll-zoomin-animation

    890
  • Home Hero Landing Scroll Animation

    Home Hero Landing Scroll Animation

    707
  • Inversion Circle Scroll Animation

    Inversion Circle Scroll Animation

    275
  • Landing scroll animation

    Landing scroll animation

    191
  • Reveal Text

    Reveal Text

    132
  • Text Animation

    Text Animation

    86
  • woodpeck-hero-landing-animation

    woodpeck-hero-landing-animation

    66

More in Text

View all
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    103
  • Motion Blur Text

    Motion Blur Text

    34
  • Text Reveal

    Text Reveal

    313
  • Rainbow Text Effect

    Rainbow Text Effect

    46
  • Blur Reveal

    Blur Reveal

    296
  • Shine Border

    Shine Border

    947
  • NeonRGBTextEffect

    NeonRGBTextEffect

    144
  • Glow

    Glow

    40