Framer has a Lottie component in the marketplace. Drop it on your canvas, paste a JSON URL, done. No code required.
Download the Lottie JSON from Unicorn Icons. Upload it to Framer Assets (drag into the Assets panel) or any public host. You need a public HTTPS URL.
In the Framer canvas: press I to open Insert, search for 'Lottie', and add the component. It should appear in the marketplace results.
Select the Lottie component on the canvas. In the right panel, paste your JSON URL into the Source field. The animation loads and plays in the canvas.
In the component properties panel, toggle Loop and Autoplay as needed. For hover-triggered play, set Autoplay off and wire a Framer interaction to start playback on hover.
Prefer Rive in Framer?
Framer also supports Rive natively — with state machine inputs for hover and click built in. See the Rive + Framer guide.
Where do I host the JSON file?
Framer Assets is the easiest — drag the file into the Assets panel and copy the URL. Any public HTTPS host with CORS open works too.
Can I use Unicorn Icons' JSON directly?
Yes. Download, upload to Framer Assets or your own host, paste the URL. The animation plays exactly as it does everywhere else.
How do I play on hover?
Set Autoplay off. Add a Framer hover interaction that triggers a component variant with Autoplay on. Or use Framer's Code Override to call play/stop on the Lottie instance.
Get your animated icons
Browse icons ready for Framer — free to download.