Rolling 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.
Letters flipping over one after another in 3D, like a split-flap board settling on a word
- 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/rolling-text
- Source: https://github.com/imskyleen/animate-ui/blob/main/packages/react/src/primitives/texts/rolling/index.tsx
- Example: https://skills.varg.ai/previews/lib-animate-ui-rolling-text.mp4?v=14554 (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
Reveal a title with Animate UI's Rolling Text (https://animate-ui.com/docs/primitives/animate-ui/rolling-text, MIT + Commons Clause): npm install @animate-ui/react motion, then <RollingText text="…" /> centred in the frame. Each letter turns over on rotateX: the front copy rolls away while the back copy rolls in 0.3 s later, 0.5 s each on an ease-out, letters 0.1 s apart. It plays once on mount or in view, on Motion's clock, so for a video set each letter's two rotations from the frame: t = frame / fps − i × 0.1, then interpolate rotateX over [0, 0.5] and [0.3, 0.8] with an ease-out (Remotion), or rebuild it as a paused GSAP timeline with a 0.1 stagger (HyperFrames). Start it on the cut where the title appears.
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