Building a Static Site
tsci build --site packages your tscircuit project into a static website that anyone can browse without running a server.
Connect GitHub Repositories to tscircuit
Link your project repo to tscircuit for automatic previews and publishing
Displaying Circuit JSON on a Webpage
Render Circuit JSON in web apps using RunFrame and related components
Platform Configuration
The Platform Configuration allows you to change tscircuit behavior to best suit the platform the tscircuit code is running on.
Programmatically Building Circuits
Use tscircuit libraries and APIs to generate circuits from scripts or services
Running tscircuit inside an iframe
tscircuit can be evaluated inside an iframe. This makes it easy to embed snippets on a webpage without complex build systems.
Running tscircuit with a script tag
Load tscircuit's browser build from a CDN and render a circuit written inside a <script type="tscircuit-tsx"> block – no build tooling required.
Using tscircuit without React
Explore current options for running tscircuit outside of a React environment