Command Palette

Search for a command to run...

API Reference

Comprehensive API reference for dotlottie-js, covering DotLottie V1 and V2 classes, and standalone utility functions.

dotlottie-js API Reference

The API Reference for dotlottie-js provides detailed information about the public classes, methods, and utility functions for creating, manipulating, and exporting .lottie files.

The reference includes:

  1. The DotLottie (V2) Class: The primary class for working with V2 format .lottie files. Includes constructor, static loading methods, and instance methods for managing animations, assets, themes, state machines, and exporting.

  2. The DotLottieV1 Class: For users explicitly creating or managing V1 format .lottie files.

  3. Standalone Utility Functions: A collection of publicly exported functions for tasks like instance creation, conversion, loading, validation, data extraction, and more.

Structure

This API reference is organized as follows:

Navigate using the links above or proceed sequentially.

Next up: DotLottie (V2) Class API

Last updated: April 10, 2026 at 9:12 AMEdit this page