appica-dev

Text Animate

Text 23

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 TextAnimateDefault() {
  const [run, setRun] = useState(0);

  return (
    <div className="flex flex-col items-center gap-6">
      <TextAnimate
        key={run}
        effect="typewriter"
        duration={2}
        className="text-foreground text-3xl font-semibold"
      >
        Ship beautiful interfaces, fast.
      </TextAnimate>
      <Button variant="outline" size="sm" onClick={() => setRun((n) => n + 1)}>
        Replay
      </Button>
    </div>
  );
}

More by appica-dev

View all
  • Border Beam

    Border Beam

    75
  • Carousel

    Carousel

    24
  • Avatar

    Avatar

    18
  • Table of Contents

    Table of Contents

    10
  • Sparkline

    Sparkline

    10
  • Background Pattern

    Background Pattern

    9
  • Color Area

    Color Area

    7
  • Alert

    Alert

    3

More in Text

View all
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    134
  • Astryx Chat Tokenized Text

    Astryx Chat Tokenized Text

    9
  • Shimmering Text

    Shimmering Text

  • Rainbow Text Effect

    Rainbow Text Effect

    61
  • Text Reveal

    Text Reveal

    31
  • Scroll Fill Headline

    Scroll Fill Headline

    43
  • Shine Border

    Shine Border

    1K
  • Toolbar

    Toolbar

    55