Svelte Player

Render Lottie and dotLottie animations in Svelte and SvelteKit apps with the @lottiefiles/dotlottie-svelte component.

To add Lottie animations to your Svelte or SvelteKit app, use the dotLottie Svelte player (@lottiefiles/dotlottie-svelte). It renders .lottie and .json animations through a single DotLottieSvelte component that wraps the core dotLottie web player, exposing its features as Svelte props and giving you direct access to the player instance when you need it.

The current version is v0.x.

Start here

Guides

Reference

Last updated: August 13, 2026 at 9:17 AMEdit this page