top of page

Studio, Partners & Enterprise

Wix Studio

Studio Editor: Adding and Setting Up a Rive Animation


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.

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:


  1. Go to your editor.

  2. Click Add Elements

    Studio Editor: Adding and Setting Up a Rive Animation

    on the left side of the editor.

  3. Click Media.

  4. Click Rive.

  5. Click the Add to Site icon

    Studio Editor: Adding and Setting Up a Rive Animation

    next to Rive Animations.


A screenshot from the Add Elements panel, Rive tab, showing where to click in order to add the element

  1. Upload the Rive file:

    1. Click Change File.

    2. (In the Media Manager) Select the relevant .riv file or click + Upload Media to add it on the spot.

    3. Click Add to Page.


Clicking Change File on the Rive element in the Studio Editor to upload your .riv file


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:


  1. Select the Rive element in your editor.

  2. Click the Settings icon

    Studio Editor: Adding and Setting Up a Rive Animation

    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.

    • Accessibility: Enter an accessible name to provide a brief description of the animation. If the element is decorative (i.e. doesn't need an accessible name), select the checkbox next to This animation is decorative, it doesn't need a description.

  3. (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.


FAQs


Click a question below to learn more.


Rive animations must be in the .riv file format. Ensure that your animation is exported correctly from Rive before uploading.


Yes, you can add multiple Rive elements to your page. Simply repeat the steps to add and customize each animation.


Check the settings for the Rive element, including the selected artboard and state machine. Ensure that the element's size is appropriate for the animation.

If issues persist, verify that the .riv file is not corrupted.


You can set the element's Respo nsive behavior in the Inspector panel - select the behavior that suits your needs (e.g. scale proportionally, relative width, etc.)

Studio Editor: Adding and Setting Up a Rive Animation

Tip: You can use the Fit and Alignment options in the Settings panel to adjust how the animation fits within the element's bounding box. This can help ensure it displays well on different screen sizes.


Absolutely - responsive behaviors you set up with Rive's layout options are displayed. However, we recommend adjusting the settings to ensure it works as expected:

  1. Click the Rive element in your editor.

  2. Click Settings.

  3. Click the Fit drop-down.

  4. Select Layout.


Need An AI Run Website?
Contact Us
 Today!

wix experts
Graphic2Traffic web design
©
bottom of page