Svelte Playground

Build Svelte components and see the result live. Learn, experiment and improve your skills.

  • Live Preview
  • Svelte 4
  • No Setup Required

AI Assistant

Beta

Describe what you want and the code and preview will be updated. You can undo any change.

Console

0
console.log output appears here.

Svelte 4 is compiled in your browser inside a sandboxed frame. Write markup, a script and optional styles in one file. The libraries load from a CDN, so you need internet.