Skip to main content
A
14h ago

Dynamic text and images in Rive

Hello. I want to create a component that has text and a profile picture that appears and disappears with animation. I want to find a way to give this animation to the developer in a way that he can put his own text and profile picture on it. I actually want the picture and text to be dynamic in my motion. Is this possible?

2 replies
A
J
J
11h ago

Swapping images and runs is fairly simple to do in the code side but the method depends on your runtime. Keep in mind if you have these in a nested artboard, you have to right-click and export the name so it can be accessed in code.

Here's the article on replacing assets:

https://rive.app/community/doc/loading-assets/doct4wVHGPgC

And here's one for runs:

https://rive.app/community/doc/text/docn2E6y1lXo

There are plenty of code examples if you scroll down. Just select your platform.

A
3h ago

What should I give the developer as output? Output .riv???