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

    986
  • Tilt Card

    Tilt Card

    880
  • Marquee

    Marquee

    781
  • Text Marquee

    Text Marquee

    750
  • QR Code

    QR Code

    459
  • Animated Checkbox

    Animated Checkbox

    386

More in Text

View all
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    110
  • Blur Reveal

    Blur Reveal

    313
  • Vapour Text Effect

    Vapour Text Effect

    2K
  • NeonRGBTextEffect

    NeonRGBTextEffect

    145
  • Rainbow Text Effect

    Rainbow Text Effect

    47
  • Shine Border

    Shine Border

    968
  • Apple Hello Effect

    Apple Hello Effect

    620
  • Text Highlight

    Text Highlight

    72