Modal Morph — primitive for app & ui mockups (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 small card expands into a full panel, shared-element style: both layouts measured once at mount, the container morphs by transform only (never width/height tweens) while keyed children counter-scale and re-flow onto…
- Install:
npx hyperframes add modal-morph - Registry: hyperframes · Framework: hyperframes · License: Apache-2.0
- Docs and preview: https://hyperframes.heygen.com/catalog/components/modal-morph
- Source: https://github.com/heygen-com/hyperframes/tree/main/registry/components/modal-morph
- Runs: local render, free
- Aspect: any
Slots (what you fill in)
from_scale(number) — From scaleexpand_at(number) — Expand atregister(enum) — Registeraccent(enum) — Accentexit(enum) — Exit
Used in
- Product launch film
- Feature announcement
- App promo & App Store preview
- Notes-app ad
- Changelog & release notes
- Pull request to video
- Code walkthrough
- Website to video
More app & ui mockups
- Apple Notes Video —
git clone https://github.com/vargHQ/code2video-templates && cd code2video-templates/apple-notes-video && bun install - Avatar Group Hover —
npx hyperframes add avatar-group-hover - Camera Scan Gate —
npx hyperframes add camera-scan-gate - Card Resize —
npx hyperframes add card-resize - Dynamic Grid —
npx hyperframes add dynamic-grid - Focus Swap —
npx hyperframes add focus-swap