Mark Yo

Text Reveal

Text

About

A text animation that splits a heading or label into words or characters and lifts each piece into place as its blur clears, either on mount or when it scrolls into view.

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

Code

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

Usage.tsx

import { TextReveal } from "@/components/ui/text-reveal";

export default function TextRevealDemo() {
  return (
    <div className="flex min-h-[320px] w-full items-center justify-center bg-background px-6 py-20">
      <TextReveal
        as="h2"
        text="Split your words into motion."
        split="word"
        className="max-w-xl text-center text-3xl font-semibold tracking-tight text-foreground sm:text-4xl"
      />
    </div>
  );
}

Dependencies

More by Mark Yo

View all
  • Loader

    Loader

    67
  • Pricing Table

    Pricing Table

    24
  • Bento Grid

    Bento Grid

    10
  • Wallet Card

    Wallet Card

    4
  • Expandable Tabs

    Expandable Tabs

    4
  • Image Gallery

    Image Gallery

    3
  • CTA Section

    CTA Section

    3
  • Bar Chart

    Bar Chart

    1

More in Text

View all
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    134
  • Astryx Chat Tokenized Text

    Astryx Chat Tokenized Text

    9
  • Text Reveal

    Text Reveal

    31
  • Rainbow Text Effect

    Rainbow Text Effect

    61
  • Scroll Fill Headline

    Scroll Fill Headline

    44
  • Shine Border

    Shine Border

    1K
  • Split text

    Split text

    79
  • Motion Blur Text

    Motion Blur Text

    47