SolidJS interactive animation with ExodeUI
For SolidJS interactive animation, install exodeui-solid and render a .exode file with ExodeUICanvas. Pass starting values in the inputs prop, and keep the engine from onReady to set inputs and fire triggers as your signals change. For small CSS-level effects on your own elements, a code library or plain CSS is simpler.
Solid Runtime · Updated November 2026
npm install exodeui-solidGetting Started
The Solid runtime renders .exode files in SolidJS apps and takes inputs as props.
Usage
import { ExodeUICanvas } from 'exodeui-solid';
import { createSignal } from 'solid-js';
function App() {
const [artboard] = createSignal(require('./animation.json'));
return (
<div style={{ width: '400px', height: '400px' }}>
<ExodeUICanvas
artboard={artboard()}
fit="Contain"
interactive={true}
onTrigger={(name, anim) => console.log('Trigger:', name)}
inputs={{
"Is Dark Mode": true,
"Speed": 2.5
}}
/>
</div>
);
}SolidJS interactive animation: common questions
How do I install it?
npm install exodeui-solid, then import ExodeUICanvas.
How do I change inputs from my signals?
Keep the engine that onReady gives you, then call setInputBool, setInputNumber or fireTrigger on it inside a createEffect that reads your signals.
Does it work with SolidStart?
Yes, on the client. The component draws on a canvas in the browser.
Is there a hook like useExodeUI?
No. The Solid runtime uses props (inputs, onReady, onTrigger) and the engine object. The React package is the one with a hook.
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.