modern-monaco-svelte

Monaco editors, the Svelte way

Drop-in Svelte 5 components for modern-monaco: code and markdown editors with Shiki highlighting, workspaces, lazy loading, and SSR.

bun add modern-monaco-svelte modern-monaco

Markdown editor

Formatting shortcuts, snippet completions, list continuation, live bold/italic styling.

Loading editor…

Generic code editor

A thin wrapper over Monaco with two-way bind:value and reactive theming. Pass options={{ readOnly: true }} to lock editing and use it as a syntax-highlighted code block.

Loading editor…

More demos