Rendyn

Component library

189 components

Interaction

Typing Animation

Typing Animation exposes typing, deletion and optional looping controls.

Interactive exampleReact Tailwind CSS

Practical React example

Animate a short supplementary phrase while keeping important copy immediately readable.

Before you copy and paste

Match the imported component’s client or server rendering boundary before using the example. Copy components/magicui/typing-animation.tsx and its returned support files from the Code tab; preserve the project-relative paths.

Listed package dependencies: motion.

Use the Code tab for the component files and installation instructions, then adapt the imports in this example to your project.

Animate a short supplementary phrase while keeping important copy immediately readable

// Usage adapted from Magic UI's pinned MIT source.
// Copyright (c) Magic UI. See ./LICENSES.md.
'use client';

import { TypingAnimation } from "@/components/magicui/typing-animation"

export function ComponentExample() {
  return (
    <TypingAnimation>Hello World! 👋</TypingAnimation>
  );
}

Usage example adapted from Magic UI's pinned MIT source. Retain the source licence notices when copying.

Use a stable string or a short words collection and choose typeSpeed, deleteSpeed and pauseDelay as distinct phases of the effect.

Customization

TypingAnimationProps.children
Optional; string.
TypingAnimationProps.words
Optional; string[].
TypingAnimationProps.className
Optional; string.
TypingAnimationProps.duration
Optional; number.
TypingAnimationProps.typeSpeed
Optional; number.
TypingAnimationProps.deleteSpeed
Optional; number.
TypingAnimationProps.delay
Optional; number.
TypingAnimationProps.pauseDelay
Optional; number.
TypingAnimationProps.loop
Optional; boolean.
TypingAnimationProps.as
Optional; MotionElementType.
TypingAnimationProps.startOnView
Optional; boolean.
TypingAnimationProps.showCursor
Optional; boolean.
TypingAnimationProps.blinkCursor
Optional; boolean.
TypingAnimationProps.cursorStyle
Optional; "line" | "block" | "underscore".

Integration notes

  • Avoid making users wait for essential instructions or primary action labels to finish typing.
  • Test reduced motion, repeated loops and announcements from changing text.

Component source: Magic UI documentation . These examples describe the version imported into Rendyn. Upstream APIs may have changed; retain the source licence notices when adapting the code.

Better with your agent

Give your agent taste.

The best way to use Rendyn is through MCP. Let your agent find the right component, compare previews and bring the source into your project.

All components are free. Sign up only to connect MCP.

Connect to MCP