---
title: "Svelte"
description: "Use FlowDrop as a native Svelte 5 component."
source: https://flowdrop.io/docs/editor/frameworks/svelte
site: FlowDrop documentation
---
# Svelte
FlowDrop is built with Svelte 5, so in a Svelte app you use its components
directly — no mount API needed.
## 1. Install
```bash npm
npm install @flowdrop/flowdrop @iconify/svelte @xyflow/svelte
```
```bash pnpm
pnpm add @flowdrop/flowdrop @iconify/svelte @xyflow/svelte
```
```bash yarn
yarn add @flowdrop/flowdrop @iconify/svelte @xyflow/svelte
```
## 2. Drop in the editor
```svelte
console.log('Saved:', workflow.id)}
/>
```
## SvelteKit
FlowDrop is browser-only. In SvelteKit, guard the editor so it never renders
during SSR:
```svelte
{#if browser}
{/if}
```
**FlowDrop needs a backend.**
It serves nodes and stores workflows. Point `endpointConfig` at your API, or
[run a ready-made server](/start).
## Next steps
The mental model behind the editor.
The REST endpoints FlowDrop calls.