Video Text — primitive for headlines & quotes (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.
Huge block letters cut out of a playing video, so the footage only shows through the type
- Install:
npx shadcn@latest add @magicui/video-text - Registry: magic-ui · Framework: react · License: MIT
- Docs and preview: https://magicui.design/docs/components/video-text
- Source: https://github.com/magicuidesign/magicui/blob/main/apps/www/registry/magicui/video-text.tsx
- Example: https://skills.varg.ai/previews/lib-magic-ui-video-text.mp4?v=42340 (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 Video Text from Magic UI (https://magicui.design/docs/components/video-text, MIT) for a title made of footage: one word filling the frame, the clip visible only inside the letters. It masks an autoplaying, looping <video> with an SVG text mask. In a render the video has to follow the composition clock: in HyperFrames use a framework-owned video element (class="clip" with data-start) under the same mask, in Remotion swap the <video> for <OffthreadVideo> or <Video>. Set src to your own clip, the word, fontSize, fontWeight and fontFamily; short, heavy words work best.
Used in
- Product launch film
- Feature announcement
- App promo & App Store preview
- UGC ad with overlays
- Ad variants for testing
- Testimonial & review ad
- Us vs them & before / after
- Notes-app ad
More headlines & quotes
- Headline Slam —
npx hyperframes add headline-slam