Sandpack Embed Toolkit
Sandpack is an open-source component toolkit for creating live-running code editing experiences powered by CodeSandbox. It supports React via @codesandbox/sandpack-react and plain JavaScript via @codesandbox/sandpack-client, enabling developers to embed interactive code editors and previews with built-in support for Next.js, Remix, Vite, Astro, hot module reloading, and npm dependency support. Also supports iframe-based sandbox embedding.