Sandpack is a component toolkit for creating your own live running code editing experience powered by CodeSandbox. Sandpack uses CodeMirror under the hood, giving you all the basic capabilities of a code editor and syntax highlight. However, if you want to use your own editor framework, you can add that as a component too! Sandpack embeds the browser bundler that powers CodeSandbox and takes advantage of features like npm dependency support, hot module reloading, error overlaying, and caching. With Sandpack, you're always one click away from opening your code snippet in CodeSandbox. This way, you can easily share bug reports or examples behind a unique URL. Set the template prop to get started with Sandpack in a few lines of code. Each template contains all the files and dependencies needed to start a project right away. Tweak the UI to your liking using the options prop. Quickly toggle the appearance of built-in components.

Features

  • Customize the UI with ease
  • Easily configure the project to run
  • Get started in a few lines
  • Full editor experience
  • Advanced preview
  • Leverage CodeSandbox

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow Sandpack

Sandpack Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Sandpack!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Documentation Software, TypeScript Code Editors

Registered

2022-09-07