tom

Randomized Text

Text

About

Animated text that reveals its words or characters with a randomized fade-in effect.

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

Code

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

Usage.tsx

import { RandomizedText } from "@/components/ui/randomized-text";

export default function RandomizedTextDemo() {
  return (
    <div className="flex min-h-[360px] w-full items-center justify-center bg-background px-10 py-12">
      <div className="w-full max-w-xl">
        <h2 className="mb-4 text-3xl font-semibold tracking-tight text-foreground">
          <RandomizedText split="chars">Introducing Spell UI</RandomizedText>
        </h2>
        <p className="text-base leading-relaxed text-muted-foreground">
          <RandomizedText split="words">
            Lorem ipsum dolor sit amet consectetur, adipisicing elit. Animi
            architecto soluta modi facilis fugit possimus commodi! Ipsum
            delectus unde repellendus.
          </RandomizedText>
        </p>
      </div>
    </div>
  );
}

Dependencies

More by tom

View all
  • Shimmer Text

    Shimmer Text

    1.1K
  • Animated Gradient

    Animated Gradient

    1.1K
  • Special Text

    Special Text

    1.1K
  • Tilt Card

    Tilt Card

    913
  • Marquee

    Marquee

    812
  • Text Marquee

    Text Marquee

    761
  • QR Code

    QR Code

    484
  • Blur Reveal

    Blur Reveal

    401

More in Text

View all
  • Astryx Chat Tokenized Text

    Astryx Chat Tokenized Text

    16
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    135
  • Scroll Fill Headline

    Scroll Fill Headline

    67
  • Text Reveal

    Text Reveal

    411
  • Per Word Crossfade

    Per Word Crossfade

    20
  • Italic Sweep Scroll Text

    Italic Sweep Scroll Text

    77
  • Apple Hello Effect

    Apple Hello Effect

    692
  • Toolbar

    Toolbar

    60