ComponentsEffects
Typing text
A string that arrives a character at a time
Installation
nub add @gpuixui/componentsUsage
import { TypingText } from "@gpuixui/fx";
<TypingText text="Deploying to production…" speed={35} />;API
| Prop | Type | Default |
|---|---|---|
text | string | — |
speed | number | 45 |
delay | number | 0 |
caret | boolean | false |
label | string | the whole text |
onComplete | () => void | — |
role | TextRole | "body" |
className | string | — |
style | StateStyle<TypingTextState> | — |
Edit this page on GitHubpackages/fx/docs/typing-text.mdx