Hello World
The simplest possible Mochi page — a Svelte component rendered on the server with no client-side JavaScript.
Hello, world!
<p>Hello, world!</p>
More demos
Runed Utilities How third-party Svelte 5 libraries run in islands — Runed's reactive utilities (Debounced, StateHistory, PersistedState, PressedKeys, AnimationFrames, FiniteStateMachine, resource…) hydrated inside Mochi. Isomorphic URL How the isomorphic URL helper works — one import that reads the request URL on the server and window.location on the client. Real-time Streams How server-sent events and WebSocket streaming work — live SSE and WebSocket clocks, lazily hydrated via mochi:hydrate:visible.