Text Effect — 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 line of text resolves letter by letter out of dark blur, then lifts and fades away, on a loop
- Install:
npx motion-primitives@latest add text-effect - Registry: motion-primitives · Framework: react · License: MIT
- Docs and preview: https://motion-primitives.com/docs/text-effect
- Source: https://github.com/ibelick/motion-primitives/blob/main/components/core/text-effect.tsx
- Example: https://skills.varg.ai/previews/lib-motion-primitives-text-effect.mp4?v=14751 (Captured from the library’s own demo page (Motion Primitives))
- 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
Animate my caption lines with Motion Primitives' Text Effect (https://motion-primitives.com/docs/text-effect, MIT), centered or in the lower third. Install with npx motion-primitives@latest add text-effect. It splits text per char, word or line and staggers Motion variants on mount, with AnimatePresence for the exit, so for a render compute each segment's opacity, blur and y from frame / fps with its stagger offset (Remotion), or stagger the segments on the paused HyperFrames timeline; toggle trigger at the exact frame a line should leave. Set per, preset (blur, fade-in-blur, scale, fade, slide), delay, speedReveal and speedSegment, or pass custom variants.
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