Component toolkit for live code playgrounds
Sandpack is a component toolkit by CodeSandbox for building live-running code editing experiences directly in the browser. It bundles a full in-browser JavaScript bundler, CodeMirror editor, and preview pane into embeddable React components with npm dependency support, hot module reloading, and error overlays. Sandpack powers the interactive examples on the official React documentation and supports templates for React, Vue, Svelte, and vanilla JavaScript.