Typing Text — primitive for text reveals (react)
For AI agents: find the right skill in one call —
curl -s "https://skills.varg.ai/api/search?q=<what the person wants>"returns the matching use case and the best skills with install commands, as markdown (Russian works too). Full index: https://skills.varg.ai/llms.txt. Every page has a markdown twin: add.mdto its path. Before generating anything, show the person the options on the use-case page.
A shell prompt types out a command in amber monospace, holds, erases it and types it again
- Install:
npx shadcn@latest add https://animata.design/r/text/typing-text.json - Registry: animata · Framework: react · License: MIT
- Docs and preview: https://animata.design/docs/text/typing-text
- Source: https://github.com/codse/animata/blob/main/animata/text/typing-text.tsx
- Example: https://skills.varg.ai/previews/lib-animata-typing-text.mp4?v=17783 (Captured from the library’s own demo page (Animata))
- Time: Drive from the frame. Runs on its own clock (requestAnimationFrame, timers, springs or CSS). Drive it from frame / fps before rendering, or the render drifts.
- Runs: local render, free
- Aspect: any
Prompt that renders it frame-exact
Use Typing Text from Animata (https://animata.design/docs/text/typing-text, MIT) for a command line, a search box or a typed caption. It adds one character per delay ms with setInterval, waits waitTime, and with repeat on erases and types again, all on wall time. For a render, compute the visible count from time: n = clamp(floor((t - start) * 1000 / delay), 0, text.length), mirrored for the erase phase when repeat is on, and blink the cursor from floor(t * 2); t is frame / fps in Remotion or the timeline time in HyperFrames. Set text, delay, repeat, waitTime, smooth and hideCursorOnComplete, and the colours of the prompt.
Used in
- Product launch film
- Notes-app ad
- Text-message story
- CLI & terminal demo
- AI chat & agent demo
- Data story
- Math animation
- Whiteboard & hand-drawn
More text reveals
- Blur In —
npx hyperframes add blur-in - Blur Out Up —
npx hyperframes add blur-out-up - Bottom Up Letters —
npx hyperframes add bottom-up-letters - Caret Swap —
npx hyperframes add caret-swap - Focus Blur Resolve —
npx hyperframes add focus-blur-resolve - Line-by-Line Slide —
npx hyperframes add line-by-line-slide