Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>Lottie ViewNew to Visual Studio Code? Get it now.
Lottie View

Lottie View

Tayari24

|
1 install
| (0) | Free
Instantly preview .lottie and Lottie JSON animations inside VS Code — playback controls, embedded asset support, works offline.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Lottie View

Preview Lottie animations directly inside VS Code — no browser, no external tools.

Developed by Tayari24 · Free & open source · MIT License

Version License: MIT Repository


Features

  • Native .lottie support — dotLottie packages open in a dedicated preview tab automatically, exactly like images do.
  • Lottie JSON preview — open any Lottie animation .json via Open With → Lottie Preview (never hijacks your normal JSON editor).
  • Full playback — animations play and loop automatically at their native size (scaled to fit, max 480px), with Pause/Play and Restart controls.
  • Embedded assets — images packaged inside .lottie files are extracted and rendered; relative image paths in .json files are resolved from disk.
  • Offline & private — everything is bundled (lottie-web + JSZip). No CDN, no network requests, no telemetry.

Usage

.lottie files

Just click a .lottie file in the Explorer — it opens in a preview tab automatically.

.json files

  1. Right-click the file → Open With...
  2. Select Lottie Preview

To make it the default for a specific file pattern, use the workbench.editorAssociations setting:

"workbench.editorAssociations": {
  "*.lottie.json": "lottiePreview.json"
}

Supported Formats

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 .lottie packages 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.

License

MIT © Tayari24 — see LICENSE.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft