Shimmering 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 glint of light running letter by letter across grey text, each letter brightening as it passes
- Install:
npm install @animate-ui/react motion - Registry: animate-ui · Framework: react · License: MIT + Commons Clause
- Docs and preview: https://animate-ui.com/docs/primitives/animate-ui/shimmering-text
- Source: https://github.com/imskyleen/animate-ui/blob/main/packages/react/src/primitives/texts/shimmering/index.tsx
- Example: https://skills.varg.ai/previews/lib-animate-ui-shimmering-text.mp4?v=23498 (Captured from the library’s own demo page (Animate 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 Animate UI's Shimmering Text (https://animate-ui.com/docs/primitives/animate-ui/shimmering-text, MIT + Commons Clause) for an AI "thinking…" line or a subtle caption. npm install @animate-ui/react motion and render <ShimmeringText text="…" />. Each letter pulses from color to shimmeringColor and back over duration, staggered by duration / letters, on Motion's clock. To render it frame-exact, compute each letter's colour mix from the frame: phase = (frame / fps − i × duration / n) mod (duration + 0.05 × n), mapped through an ease-in-out (Remotion: interpolateColors; HyperFrames: a paused GSAP stagger on the letter spans). Set color and shimmeringColor; wave adds a small lift and turn as the glint passes.
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