Yes, you can use Webflow CMS to dynamically apply a Lottie animation to each CMS item by uploading a JSON file. However, Webflow’s built-in Lottie element does not support direct CMS binding for the Lottie animation file. You need to work around this by using Embed Code with a CMS-hosted JSON file.
Open your CMS Collection Page.
Drag a Custom Embed element into the page.
Paste the following embed code inside:
```html
\`\`\`{{CMS File URL Field}}
with Webflow’s dynamic field for the File URL (click the + Add Field button inside the embed).lottie-container
→ my-animation
).false
for one-time play.false
to play on user interaction.Webflow CMS does not natively allow binding JSON files to Lottie elements, but by using a Custom Embed, you can dynamically load Lottie animations from uploaded JSON files. The File field in CMS provides a direct URL for each animation, which can be inserted into the path
property of the embed code.