Skip to main content
See these sections to controll your Rive graphics through runtime code.

Artboards

Control which artboard is displayed at runtime.

Layout

Control the artboard’s layout (fit and alignment) at runtime.

State Machine Playback

Control state machine playback at runtime and interact with state machine inputs.

Data Binding

Dynamically update content at runtime using two-way data binding for text, colors, images, lists, and more.

Loading Assets

Load referenced assets (images, fonts, audio) at runtime. Also known as out-of-band assets.

Caching a Rive File

Cache and reuse a Rive file object across multiple Rive instances to improve performance.