Typewriter — 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 .md to its path. Before generating anything, show the person the options on the use-case page.

A phrase typed and deleted letter by letter with a blinking cursor, cycling through endings

Prompt that renders it frame-exact

Use Typewriter from Fancy Components (https://www.fancycomponents.dev/docs/components/text/typewriter, MIT). Install with npx shadcn add @fancy/typewriter with the @fancy registry set in components.json. Use it for a prompt-box effect, a search bar or a sentence whose last word keeps changing ('We're born to [create / dance]'). Set text (a string or an array), speed, deleteSpeed, waitTime, loop and cursorChar. It types on chained setTimeout calls and blinks the cursor with a Motion loop. Rebuild it as a pure function of t = frame / fps: walk the type/hold/delete schedule to get the visible substring, and blink the cursor with floor(t * 2) % 2.

Used in

More text reveals