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
Svelte

Svelte Runtime

Official Svelte integration supporting responsive Svelte stores.

exodeui-svelte
Installation
bash
npm install exodeui-svelte

Getting Started

The Svelte runtime integrates ExodeUI with Svelte's reactive store system.

Usage

svelte
<script lang="ts">
  import { ExodeUICanvas, createExodeUI } from 'exodeui-svelte';

  const exo = createExodeUI();

  function onReady(engine: any) {
    exo.setEngine(engine);
    exo.setInputBool('isPlaying', true);
  }
</script>

<ExodeUICanvas
  artboard={myArtboard}
  fit="Contain"
  onready={onReady}
  ontrigger={(name, anim) => console.log(name, anim)}
/>