Carregando…
Carregando…
Carregando…Animated typewriter that types, pauses and deletes cycling text strings.
Typewriter — type, pause, delete, loop
We design
$ npx kikitocn add typewriterimport { Typewriter } from "@/components/ui/cn/typewriter/Typewriter";
export function TypewriterExample() {
return (
<Typewriter />
);
}| Prop | Tipo | Padrão | Descrição |
|---|---|---|---|
texts* | string[] | — | Array de textos para ciclar |
speed | number | 80 | Velocidade de digitação (ms/char) |
deleteSpeed | number | 40 | Velocidade de apagar (ms/char) |
pauseDuration | number | 1500 | Pausa no final de cada texto (ms) |
loop | boolean | true | Ciclar indefinidamente |
cursor | boolean | true | Exibir cursor piscante |
cursorChar | string | '|' | Caractere do cursor |
className | string | — | Classes CSS extras |