Skip to main content
FlowDrop is built with Svelte 5, but can be mounted into any framework via the mount API.

Svelte (Native)

Use FlowDrop components directly in Svelte:
For SvelteKit, ensure FlowDrop runs only on the client:

Vanilla JS / React / Vue / Angular

Use the mount API to embed FlowDrop in any container element:
The returned handle also exposes app.export() and the mount’s state container at app.instance. For programmatic state changes, reach through the instance — app.instance.workflow.actions.*, app.instance.history.undo(), and so on. See Mount API for the complete options and return value.

API Configuration

Connect to your backend by configuring endpoints:
See Backend Implementation for which endpoints to implement.

Authentication

FlowDrop supports three auth providers. Quick examples:
For full details on each provider, token refresh patterns, and OAuth2 integration, see Authentication Patterns.

Event Handlers

React to all 11 editor lifecycle events:
The mount options bag groups handlers under eventHandlers. The <App> component instead takes the same handlers as flat on* props (onAfterSave, onApiError, …). For the complete event reference, see Event System.

Feature Flags

Enable optional editor features:

Read-Only & Lock Modes

The mode option controls canvas editing. 'readonly' and 'locked' both disable node dragging, connecting, selecting, proximity-connect, and node swap.

Next Steps