Skip to content
  1. Examples
  2. Integrations
  3. Svelte

Svelte

Integrate Ogma into a Svelte application. There is no dedicated wrapper package — instead you lazily initialise Ogma inside a Svelte component (via a use: action) and drive it from your shared state. The tutorial below walks through a Svelte + Vite + TS setup that adds nodes on button clicks.

This integration has no live playground here — Ogma is distributed through our download center. Follow the guide above to get started.