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
You can connect your GitHub repositories to tscircuit to automatically
Displaying Circuit JSON on a Webpage
Circuit JSON is a universal
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
This guide is about using tscircuit inside of scripts, APIs or inside the browser. Maybe you want to create a website that allows your users drag'n'drop to create custom electronics and turn their designs into real circuits automatically.
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
{/* tscircuit uses React by default for strong guarantees about how