odysseyui

Typewriter

Text 5

About

An animated typewriter text effect that types and deletes multiple text sequences in sequence, with natural timing variance and auto-looping.

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

Code

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

Usage.tsx

import { Typewriter } from "@/components/ui/components-texts-typewriter";

type TypewriterDemoProps = {
  typingSpeed?: number;
  deleteSpeed?: number;
  pauseBeforeDelete?: number;
  loopDelay?: number;
  autoLoop?: boolean;
  naturalVariance?: boolean;
};

export default function TypewriterDemo({
  typingSpeed = 100,
  deleteSpeed = 40,
  pauseBeforeDelete = 1600,
  loopDelay = 1200,
  autoLoop = true,
  naturalVariance = true,
}: TypewriterDemoProps) {
  return (
    <div className="flex items-center justify-center p-10">
      <Typewriter
        key={`${typingSpeed}-${deleteSpeed}-${pauseBeforeDelete}-${loopDelay}-${autoLoop}-${naturalVariance}`}
        sequences={[
          { text: "Full-Stack Developer", deleteAfter: true },
          { text: "UI/UX Enthusiast", deleteAfter: true },
          { text: "Open to remote work", deleteAfter: false },
        ]}
        typingSpeed={typingSpeed}
        deleteSpeed={deleteSpeed}
        pauseBeforeDelete={pauseBeforeDelete}
        loopDelay={loopDelay}
        autoLoop={autoLoop}
        naturalVariance={naturalVariance}
        className="font-mono text-3xl tracking-tight text-foreground md:text-5xl"
      />
    </div>
  );
}

Dependencies

More by odysseyui

View all
  • AI Orb Avatar

    AI Orb Avatar

    210
  • Thought Chain

    Thought Chain

    108
  • Pricing 6

    Pricing 6

    52
  • Greeting Preloader

    Greeting Preloader

    35
  • Liquid Button

    Liquid Button

    23
  • GitHub Stars Button

    GitHub Stars Button

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