/sandpack

A component toolkit for creating live-running code editing experiences, using the power of CodeSandbox.

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Component toolkit for live running code editing experiences

Sandpack

Sandpack is a component toolkit for creating your own live running code editing experience powered by CodeSandbox.

Learn more about Sandpack

Sandpack client

This is a small foundation package that sits on top of the bundler. It is framework agnostic and facilitates the handshake between your context and the bundler iframe.

Read more

Sandpack React

React components that give you the power of editable sandboxes that run in the browser.

import { Sandpack } from "@codesandbox/sandpack-react";
import "@codesandbox/sandpack-react/dist/index.css";

<Sandpack template="react" />;

Read more

Documentation

You can find the Sandpack documentation on https://sandpack.codesandbox.io/docs/.

Start with the Sandpack introduction page for a quick overview and you can kick the tyres as well.

The documentation is divided into following sections: