Svelte Player
Svelte component for rendering .lottie and .json animations. A wrapper around the JavaScript player with Svelte-specific props, callback-based instance access, and event bindings.
dotLottie Svelte Player
The dotLottie Svelte player (@lottiefiles/dotlottie-svelte) is a Svelte component for rendering .lottie and .json animations in Svelte and SvelteKit applications. It wraps the core JavaScript player and exposes Svelte-specific props, callback-based instance access, and event bindings.
Tutorials
Getting Started — Install the component and display your first animation
How-to Guides
Advanced Usage — Direct instance control via
dotLottieRefCallbackand multi-animation supportExamples — Common tasks with code examples
Reference
Props Reference — All component props and configuration options
API Reference — WASM config and instance API access