Lottie ViewPreview Lottie animations directly inside VS Code — no browser, no external tools. Developed by Tayari24 · Free & open source · MIT License Features
Usage
|
| Format | Notes |
|---|---|
.lottie |
dotLottie package (ZIP containing manifest.json + animation JSON + assets). Plays the first animation in the manifest. |
.json |
Standard Lottie animation JSON (Bodymovin export). |
Requirements
- VS Code 1.85.0 or newer
Known Limitations
- Multi-animation
.lottiepackages currently preview the first animation in the manifest. - dotLottie themes and states are not yet applied.
Development
git clone https://github.com/tayari24/Lottie-View.git
cd Lottie-View
npm install
npm run bundle # bundles lottie-web + jszip -> media/viewer.js
Press F5 to launch the Extension Development Host, then open any .lottie or .json file.
Packaging & Publishing
npm run package # produces lottie-view-<version>.vsix
code --install-extension lottie-view-1.0.0.vsix
To publish to the Marketplace:
npx @vscode/vsce login Tayari24
npx @vscode/vsce publish
Requires an Azure DevOps PAT and a publisher profile at https://marketplace.visualstudio.com/manage.
Contributing
Issues and pull requests are welcome at https://github.com/tayari24/Lottie-View.