Hyper 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 monospace word scrambles through random letters and locks into the real text from left to right
- Install:
npx shadcn@latest add @magicui/hyper-text - Registry: magic-ui · Framework: react · License: MIT
- Docs and preview: https://magicui.design/docs/components/hyper-text
- Source: https://github.com/magicuidesign/magicui/blob/main/apps/www/registry/magicui/hyper-text.tsx
- Example: https://skills.varg.ai/previews/lib-magic-ui-hyper-text.mp4?v=15096 (Captured from the library’s own demo page (Magic UI))
- 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 Hyper Text from Magic UI (https://magicui.design/docs/components/hyper-text, MIT) for a decode-style title or label, centred or as a kicker above a headline. It runs on requestAnimationFrame and picks letters with Math.random, so two renders never match. Make it seek-safe: with progress p = clamp((t - start) / duration), character i shows its real letter once p ≥ i / length, otherwise a letter from characterSet chosen by a seeded random of (i, frame). Take t from frame / fps in Remotion or from the timeline time in HyperFrames. Set the text, duration, characterSet (A–Z, digits, glyphs) and a monospace font so the width stays fixed.
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