kevingirelli

Dissolve Text

Text

About

An animated text component where words or characters fade in at scattered, seeded random moments, used for subtle entrance effects on headings and paragraphs.

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

Code

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

Usage.tsx

import DissolveText from "@/components/ui/dissolve-text";

export default function DissolveTextDemo() {
  return (
    <div className="flex min-h-screen w-full items-center justify-center bg-background px-6">
      <DissolveText
        as="h1"
        split="characters"
        className="max-w-xl text-center text-3xl font-semibold tracking-tight text-foreground sm:text-5xl"
      >
        Fog lifting over the harbour.
      </DissolveText>
    </div>
  );
}

More by kevingirelli

View all
  • Aurora

    Aurora

    143
  • QR Code

    QR Code

    139
  • FAQ Section

    FAQ Section

    91
  • Animated Border

    Animated Border

    80
  • Warp Gradient

    Warp Gradient

    68
  • Corner Frame

    Corner Frame

    67
  • Wave Text

    Wave Text

    59
  • Spotlight

    Spotlight

    49

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