Skip to main content
Mount the editor from a Svelte 5 component with the standalone entry.
Try every prop live in the playground, open on Svelte, and copy the code it writes.
Free is on public npm, with no key. It has the Adjust tools, and a small “embededitor.com” badge in the corner of the menu.

Install

Render

PhotoEditor.svelte
Give the host element a height: the editor fills it.

Update Props

The $effect reads the props, then sends the full options again through update(options), not a patch. It runs whenever lang or src changes.src and state are read when the editor opens. Once an image is on screen, destroy the editor and mount it again to open another one.

Clean Up

The function onMount returns calls destroy() when the component unmounts. Calling update after destroy throws.

Next Steps

Props

Every option the editor takes.

mountEditor

The full signature.