appica-dev

Text Animate

Text

About

A text component that animates a string in by character, word, or line using presets like typewriter, scramble, rise, wave, flip, and shimmer.

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

Code

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

Usage.tsx

"use client";

import { useState } from "react";
import { Button } from "@/components/ui/button";
import { TextAnimate } from "@/components/ui/text-animate";

export default function TextAnimateScramble() {
  const [run, setRun] = useState(0);

  return (
    <div className="flex flex-col items-center gap-6">
      <TextAnimate
        key={run}
        effect="scramble"
        duration={1.6}
        className="text-foreground font-mono text-3xl font-semibold"
      >
        Decoding the signal
      </TextAnimate>
      <Button variant="outline" size="sm" onClick={() => setRun((n) => n + 1)}>
        Replay
      </Button>
    </div>
  );
}

More by appica-dev

View all
  • Border Beam

    Border Beam

    43
  • Carousel

    Carousel

    14
  • Sparkline

    Sparkline

    7
  • Table of Contents

    Table of Contents

    6
  • Color Area

    Color Area

    6
  • Avatar

    Avatar

    6
  • Background Pattern

    Background Pattern

    3
  • Autocomplete

    Autocomplete

    2

More in Text

View all
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    103
  • Rainbow Text Effect

    Rainbow Text Effect

    47
  • Motion Blur Text

    Motion Blur Text

    36
  • Text Loop

    Text Loop

    309
  • Text Reveal

    Text Reveal

    27
  • Apple Hello Effect

    Apple Hello Effect

    610
  • Typography

    Typography

    4
  • Animated Text

    Animated Text

    8