Libraries
Motion
motion@12.42.2
Animation library (vanilla Motion One API).
- Version
- 12.42.2
- License
- MIT
- Size
- 46 KB
Add it
Declare it in prototir.json at the root of your ZIP. Prototir checks the
version at upload and adds it to the page's import map.
{
"modules": [
"motion@12.42.2"
]
}Then import it by name, from 'motion', as you would from npm.
Reference
Prototir serves the library unchanged, so its own documentation applies.
Motion documentationVersions
Every version stays available, so a prototype keeps working exactly as published. Declare the one you tested with.
motion@12.42.2motion@11.15.0
As JSON: /modules/motion.json. Source: npm:motion (esbuild-bundled — its ESM re-exports from sibling packages framer-motion/motion-dom/motion-utils via relative paths that escape the served package root; see tools/bundle-vendor.mjs). GSAP excluded: proprietary license forbids self-CDN redistribution..