Skip to main content
Render the editor in Next.js, with the App Router or the Pages Router.
Try every prop live in the playground, open on Next.js, 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

The React entry starts with 'use client', so a server component can render EmbedEditor directly.
app/edit/page.tsx
The server sends only an empty host (<div data-ee-host="">). The editor mounts in the browser after hydration, with no hydration warning.

Update Props

A server component can pass only serializable props. Callbacks such as onProcess and onClose need a client component around the editor.
app/edit/photo-editor.tsx
From there, props apply live as in React.

Safe Areas

Export the viewport from the root layout, so the editor knows about the notch and the home indicator.
app/layout.tsx

Clean Up

openEditor and mountEditor touch the DOM. Call them from an event handler or an effect, never during a server render. Importing either entry on the server touches nothing of window, document or navigator.The Pages Router works the same way: the page renders the empty host on the server and the editor after hydration. Verified with Next.js 14.2 (webpack) and 16.3 (Turbopack).

Next Steps

React

The component, the modal and live props.

Inline and Page

Show the editor in a box or over the whole viewport.