Typing Effect

Terminal-style character-by-character text typing animation with blinking cursor.

Anima texto caracter a caracter no estilo terminal. Cursor a piscar opcional. Respeita prefers-reduced-motion (mostra texto completo de imediato).

Importação

import { TypingEffect } from "@zexon/ui/components/typing-effect";

Uso

Exemplo

Props

PropTipoPredefiniçãoNotas
textstringObrigatório. Texto a digitar
speednumber30Caracteres por segundo
cursorbooleantrueMostrar cursor a piscar
onComplete() => voidChamado quando a digitação termina
classNamestringNo <span> raiz

Anterior:

Próximo: