Edu Calvo

Reveal Text

Text 4

About

Animated text reveal component with directional entrances (up, down, left, right), configurable delay, view-triggered animation, and reduced-motion support.

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

Code

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

Usage.tsx

"use client";

import RevealText from "@/components/ui/reveal-text";

const Example = () => (
  <div className="flex min-h-[400px] flex-col items-center justify-center space-y-8">
    <div className="space-y-6 text-center">
      <h2 className="mb-4 font-bold text-2xl">Reveal Text Examples</h2>

      <div className="space-y-4">
        <div className="font-bold text-3xl">
          <RevealText delay={0} direction="up">
            Welcome to SmoothUI
          </RevealText>
        </div>

        <div className="text-xl">
          <RevealText delay={200} direction="left">
            Beautiful animations
          </RevealText>
        </div>

        <div className="text-lg">
          <RevealText delay={400} direction="right">
            Made with Framer Motion
          </RevealText>
        </div>

        <div className="text-gray-600 text-sm dark:text-gray-300">
          <RevealText delay={600} direction="down">
            Scroll down to see more examples!
          </RevealText>
        </div>
      </div>
    </div>
  </div>
);

export default Example;

Dependencies

More by Edu Calvo

View all
  • Scrollable Card Stack

    Scrollable Card Stack

    275
  • Pixel Flow Field

    Pixel Flow Field

    199
  • AI Task List

    AI Task List

    190
  • Siri Orb

    Siri Orb

    186
  • Cursor Follow

    Cursor Follow

    165
  • Gravity Stars

    Gravity Stars

    157
  • Agent Avatar

    Agent Avatar

    147
  • Coverflow Carousel

    Coverflow Carousel

    142

More in Text

View all
  • Motion Blur Text

    Motion Blur Text

    45
  • Rainbow Text Effect

    Rainbow Text Effect

    58
  • Text Reveal

    Text Reveal

    29
  • Blur Reveal

    Blur Reveal

    73
  • Short Slide Down

    Short Slide Down

    45
  • Apple Hello Effect

    Apple Hello Effect

    659
  • Scroll Fill Headline

    Scroll Fill Headline

    14
  • Blur Reveal

    Blur Reveal

    364