Generate integration code
riv_generate_codeGenerate ready-to-use integration code for Rive animations in React, Vue, Svelte, plain JS, or Flutter, based on the .riv file's real artboard, state machine, and input names.
Instructions
Generate ready-to-use integration code (React/Vue/Svelte/plain JS/Flutter) for a .riv file, using its real artboard, state machine and input names.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the .riv file | |
| framework | Yes |