Edu Calvo

Reveal Text

Text 3

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

    235
  • AI Task List

    AI Task List

    160
  • Siri Orb

    Siri Orb

    160
  • Cursor Follow

    Cursor Follow

    154
  • Pixel Flow Field

    Pixel Flow Field

    142
  • Agent Avatar

    Agent Avatar

    130
  • Gravity Stars

    Gravity Stars

    112
  • Coverflow Carousel

    Coverflow Carousel

    95

More in Text

View all
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    103
  • Rainbow Text Effect

    Rainbow Text Effect

    47
  • Motion Blur Text

    Motion Blur Text

    36
  • Text Loop

    Text Loop

    310
  • Text Reveal

    Text Reveal

    27
  • Apple Hello Effect

    Apple Hello Effect

    610
  • Typography

    Typography

    4
  • Animated Text

    Animated Text

    8