Caret Swap — primitive for text reveals (hyperframes)
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 gradient caret expands over one phrase, collapses to the left, then types its replacement with a blinking caret.
- Install:
npx hyperframes add caret-swap - Registry: hyperframes · Framework: hyperframes · License: Apache-2.0
- Docs and preview: https://hyperframes.heygen.com/catalog/components/caret-swap
- Source: https://github.com/heygen-com/hyperframes/tree/main/registry/components/caret-swap
- Runs: local render, free
- Aspect: any
Slots (what you fill in)
from_text(string) — From textto_text(string) — To textfont_size(number) — Font sizefont_weight(enum) — Font weightcolor(color) — Text colorcaret_color(color) — Caret topcaret_color_end(color) — Caret bottom
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 - Focus Blur Resolve —
npx hyperframes add focus-blur-resolve - Line-by-Line Slide —
npx hyperframes add line-by-line-slide - Line Swap —
npx hyperframes add line-swap