User onboarding for
Svelte and SvelteKit
Flows integrates with Svelte and SvelteKit via a lightweight SDK. Add user onboarding and iterate without code changes.
How Flows powers Svelte user onboarding
Flows integrates into Svelte apps via a lightweight client-side SDK. Initialize it in an onMount callback, pass user identity, and trigger onboarding workflows on page load, route change, or user action.
Designed for unlimited customizability
Flows is designed to be a “Headless product adoption platform”. We’ll focus on user state problems, so you can focus on your own product.
Questions and Answers
Call the Flows SDK inside an onMount callback in your root layout component and pass user identity and properties. Flows then handles targeting and workflow activation automatically, without adding any onboarding logic to your individual Svelte components. See the Svelte installation guide for step-by-step instructions and code examples.
Yes. Initialize Flows in your SvelteKit root layout's onMount to ensure it runs only in the browser. SvelteKit client-side navigations are detected automatically, so onboarding steps trigger correctly across route changes.
Yes. Flows exposes event callbacks you can use to write workflow state into a Svelte writable store. From there, any component that subscribes to the store will react automatically, keeping your onboarding UI consistent with Svelte's reactivity model.
Pass user properties when initializing Flows, such as isNewUser or signupDate. Targeting rules are configured in the Flows dashboard and evaluated locally, so returning users are automatically excluded without any conditional logic in your Svelte components. See the guide on targeting only new users.
No. Flows is a client-side SDK and never runs during SSR. Wrapping initialization in the onMount hook guarantees it only loads in the browser, so your SvelteKit pages render on the server as normal.
Build better Svelte user onboarding today
A lightweight SDK that fits Svelte's compiler-first philosophy. Add onboarding to your Svelte or SvelteKit app without the bloat.
No credit card required. Free forever.

