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
  • Special Text

    Special Text

    1.1K
  • Shimmer Text

    Shimmer Text

    1.1K
  • Animated Gradient

    Animated Gradient

    962
  • Tilt Card

    Tilt Card

    873
  • Marquee

    Marquee

    777
  • Text Marquee

    Text Marquee

    751
  • QR Code

    QR Code

    451
  • Animated Checkbox

    Animated Checkbox

    384

More in Text

View all
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    103
  • Rainbow Text Effect

    Rainbow Text Effect

    47
  • Text Loop

    Text Loop

    306
  • Motion Blur Text

    Motion Blur Text

    36
  • Text Reveal

    Text Reveal

    27
  • Apple Hello Effect

    Apple Hello Effect

    608
  • Animated Text

    Animated Text

    8
  • Lightning Text

    Lightning Text

    122