Studio Editor: Adding and Setting Up a Rive Animation
5 min read
In this article
- Step 1 | Add the Rive element
- Step 2 | Customize the Rive element
- FAQs
Add Rive animations to enhance your client's site with rich, interactive and engaging experiences. Using our seamless integration, you can incorporate pre-designed elements from Rive's community or your own Rive designs.
After uploading the Rive file, customize it right in the editor – adjust the fit, choose a specific artboard and state machine, set the animation to autoplay, and more. This gives you the flexibility to create dynamic experiences that captivate visitors and elevate your projects.
![A GIF showing a Rive animation on a live site. The animation says Wix Studio X Rive.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/651c25b0-2d60-43c8-addf-1df2fd575568/2025/01/07/f1ac7313-0b88-43bc-af58-ef5bc98aa297/89499178-bac0-4080-a42c-752311990a40.gif)
New to Rive?
Visit Rive Docs to learn how to use the platform to design animations.
Step 1 | Add the Rive element
Get started by adding the Rive element from the Add Elements panel. Then, you can change the default animation to your Rive file so that the element displays it.
Before you begin:
We recommend uploading the Rive file to the site's Media Manager in advance so it's ready to be integrated. However, you can also upload it on the spot while setting up the element.
To add the Rive element:
- Go to your editor.
- Click Add Elements
on the left side of the editor.
- Click Media.
- Click Rive.
- Click the Add to Site icon
next to Rive Animations.
![A screenshot from the Add Elements panel, Rive tab, showing where to click in order to add the element](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2024/12/29/edbe499c-b1b2-434f-87f6-0541fbc3f207/d9312c2c-5345-44e5-a1ce-f80654388db4.png)
- Upload the Rive file:
- Click Change File.
- (In the Media Manager) Select the relevant .riv file or click + Upload Media to add it on the spot.
- Click Add to Page.
![Clicking Change File on the Rive element in the Studio Editor to upload your .riv file](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2024/12/29/7aaa332a-72d8-4801-819b-fd763c3523be/309a9f3f-2725-4faa-a733-bb60ebefeeb8.png)
Step 2 | Customize the Rive element
Fine-tune your Rive animation to ensure it aligns perfectly with your client’s vision and the site’s design. From selecting a specific artboard to adjusting alignment and playback settings, you have complete control over how the animation integrates into the site.
Working with breakpoints:
By default, the settings of your Rive animation apply to all breakpoints.
To customize the Rive element:
- Select the Rive element in your editor.
- Click the Settings icon
and adjust the following settings:
- Media: Click Change .riv file to select / upload a different file.
- Artboard: If your Rive file contains multiple artboards (i.e. individual canvases), you can select the one you want to display in this element.
- State machine: If your Rive file contains multiple state machines (i.e. combinations of multiple animations), you can select the one you want this element to play.
- Fit: Select the fit of the animation within the element's bounding box (e.g. cover, fill, etc.)
- Alignment: Choose an alignment for the animation within the element's bounding box (e.g. center, bottom left, etc).
- Autoplay: Click the toggle to decide whether or not the animation plays automatically.
- Enable touch scroll: Enable the toggle to allow scroll behavior to still occur on touch devices – when visitors touch or drag the Rive element, it triggers the scroll behavior. Otherwise, scroll behavior may be prevented on touch / drag actions by default.
- What's in the animation?: Write alt text to describe the animation. If the element is decorative (i.e. doesn't need alt text), select the checkbox next to This animation is decorative, it doesn't need a description.
- (Optional) Use the element's drag handles to resize it.
Tip: Rive animations will be contained to the element's bounding box.
Click Preview animation to see the animation directly on the canvas.
![The Settings panel of a Rive file in the Studio Editor. The cursor is clicking the Artboard drop-down.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/651c25b0-2d60-43c8-addf-1df2fd575568/2025/01/07/28485109-96b7-4391-9f4c-c12c5517d6e2/b2e8ff1e-4b17-408e-a647-b65b30a8cbc4.jpg)
FAQs
Click a question below to learn more.
What file format do I need for Rive animations?
Can I add multiple Rive animations to my page?
What should I do if my animation is not displaying properly?
How can I make my animation responsive?
Can I use the responsive behaviors I set on Rive?