Ajith k v

ImgText Reveal Scroll Animation

Text 113

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

    1.1K
  • Lip-scroll-zoomin-animation

    Lip-scroll-zoomin-animation

    923
  • Home Hero Landing Scroll Animation

    Home Hero Landing Scroll Animation

    753
  • Inversion Circle Scroll Animation

    Inversion Circle Scroll Animation

    356
  • Landing scroll animation

    Landing scroll animation

    254
  • Reveal Text

    Reveal Text

    166
  • woodpeck-hero-landing-animation

    woodpeck-hero-landing-animation

    102
  • Text Animation

    Text Animation

    94

More in Text

View all
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    134
  • Blur Reveal

    Blur Reveal

    395
  • Scroll Fill Headline

    Scroll Fill Headline

    66
  • Astryx Chat Tokenized Text

    Astryx Chat Tokenized Text

    14
  • Text Reveal

    Text Reveal

    405
  • Motion Blur Text

    Motion Blur Text

    48
  • Liquid Text

    Liquid Text

    277
  • Italic Sweep Scroll Text

    Italic Sweep Scroll Text

    69