Introduction to Sandpack
mainSandpack is a component toolkit designed for creating live-running code editing experiences. It is powered by the same online bundler used by CodeSandbox, allowing you to compile and run modern JavaScript and Node.js frameworks directly in the browser.
Developers can use Sandpack in two primary ways:
- Predefined Components: Use existing components to embed a full CodeSandbox-like experience into your project.
- Custom Implementation: Build a custom version of Sandpack by using the provided standard components and utilities as building blocks.