Skip to main content
1y ago

Support for Variables

Imagine the potential of binding properties to variables. Consider a variable of type Color; by using a collection of such variables, you could define design parameters within your system. These parameters could be dynamically injected into the base file at runtime, enabling the customization of all shapes and strokes.

Furthermore, it would be possible to animate these variables, adding motion and interactivity to your design elements. Additionally, variables from nested artboards could be exposed, enhancing the flexibility and scalability of your design system.

6 replies
c
J
+2
11mo ago

This is exactly what our upcoming Data Binding feature is about

11mo ago

You guys rock! 🤘🤘

J
11mo ago

I'm super excited to hear about the data binding feature.....I've been hacking UIs together with state like timelines with only a single keyframe in it so I can change object parameters and then deploying complex state machines so that I can expose inputs to drive visual UI configuration or styling. I hope the new feature will make most of that workflow obsolete.

11mo ago

Just out of curiosity, should this thread be marked as planned / in progress, or is there another official thread in this forum to check?

S
10mo ago

I have created a spinning wheel animation using Rive. My goal is to enable the colors of each section of the spinning wheel to be dynamically changed by a Flutter developer. I do not want to use random colors; instead, I want to provide variables that the developer can manipulate. The spinning wheel has seven sections. and how can i create variables in rive ? Could you please provide a step-by-step guide on how to achieve this? i am using free version of Rive

c
8mo ago

Any timeline for when this feature will be released?