Skip to main content
ExodeUI

EXODEUI DESKTOP

A little space for good ideas.

Choose your platform to get the official ExodeUI installer.

Looking for Intel Mac or other builds? Explore the web studio or check all download options.

Prefer the browser? Try for free in your browser →
All Packages
Mobile

React Native interactive animation with ExodeUI

For React Native interactive animation that a designer builds once and your app drives, install exodeui-react-native with @shopify/react-native-skia and render the file with ExodeUIView. You pass inputs as props or set them on the engine, and the component reports taps, toggles and triggers back to your code. If the motion is tied to gestures, layout or native APIs, Reanimated is usually the better tool, and the two can live in the same app.

React Native Runtime · Updated November 2026

exodeui-react-native
Installation
bash
npm install exodeui-react-native @shopify/react-native-skia

Getting Started

The React Native runtime plays .exode files in your app, and your code controls them through inputs and events.

Skia-powered GPU rendering
Gesture & scroll input binding
Matter.js physics engine

Metro Bundler Setup

Wrap your Metro configuration to resolve .exode resource files:

js
// metro.config.js
const { getDefaultConfig, mergeConfig } = require('@react-native/metro-config');
const { withExode } = require('exodeui-react-native/withExode');

const defaultConfig = getDefaultConfig(__dirname);
const config = {};

module.exports = withExode(mergeConfig(defaultConfig, config));

Restart Metro with: npx react-native start --reset-cache

Basic Usage

tsx
import { ExodeUIView } from 'exodeui-react-native';
import splashAnimation from './assets/splash.exode';

function App() {
  return (
    <ExodeUIView
      artboard={splashAnimation}
      style={{ width: '100%', height: 400 }}
      autoPlay={true}
    />
  );
}

Props Reference

PropTypeDefaultDescription
artboardobject—Imported .exode or JSON object
srcstring—Remote URL to fetch artboard JSON
styleViewStyle—RN layout styles
autoPlaybooleantrueEnable playback loop
fit'Contain' | 'Cover' | 'Fill''Contain'Scaling strategy
alignment'Center' | 'TopLeft' ...'Center'Layout alignment
interactivebooleantrueForward gesture events
inputsRecord<string, any>—Map of input names to reactive values
scrollYnumber—Vertical scroll position binding
scrollXnumber—Horizontal scroll position binding

Event Listeners

EventArgumentsDescription
onReady(engine)Fired on setup completion
onButtonClick(name, id)Fired on canvas button taps
onToggle(name, checked)Fired on toggle switch changes
onInputChange(name, text)Fired on text input box changes
onGraphPointClick({ label, value })Fired on chart item taps
onTrigger(name, anim)Fired when state triggers occur

Imperative Controls

tsx
// Using engine reference:
engine.updateInput('IsMenuOpen', true);
engine.setInputNumberArray('ChartData', [10, 20, 30, 40]);
engine.updateGraphData('RevenueChart', [100, 200, 150]);
engine.updateObjectOptions('CategoryDropdown', ['A', 'B', 'C']);
engine.setLayout('Cover', 'TopLeft');
engine.seek(2.5); // seek to 2.5s
engine.reset();

React Native interactive animation: common questions

What do I install?

npm install exodeui-react-native @shopify/react-native-skia. Then wrap your Metro config with withExode so .exode files resolve, and restart Metro with --reset-cache.

Does it work with Expo?

It depends on React Native Skia, which supports Expo. Install Skia the way its docs describe for your Expo SDK version, then add exodeui-react-native.

How do I control the animation from my app?

Pass an inputs object to ExodeUIView, or keep the engine from onReady and call updateInput. Listen to onTrigger, onButtonClick and onToggle to react to what the user does inside the animation.

Should I use this or Reanimated?

Use Reanimated for gesture-driven layout and animation written in code. Use ExodeUI when a designer owns the motion and the same file also has to run on the web, in Flutter or in SwiftUI.

Can an AI coding tool build the animation for me?

Yes. ExodeUI has an MCP server, so Claude Code, Cursor and other AI coding tools can create and edit .exode files from plain-language prompts. You then load the file with this runtime like any other.

What does ExodeUI cost?

The editor, CLI and MCP server need ExodeUI Professional: $6.30 a month billed yearly, or $8 month to month. New accounts get a trial. The runtime package installs from the public registry.

Related