tscircuit

tscircuit - Create Electronics with Typescript

tscircuit code turns into real electronics that you can preview and order

import { USBC } from "@tsci/seveibar.smd-usb-c"

export default () => {
  return (
    <board>
      <USBC
        connections={{
          GND: "net.GND",
          VBUS: "net.VBUS"
        }}
      />
      <led
        name="LED"
        color="red"
        footprint="0603"
      />
      <button pin2=".R1 > .pos" pin3="net.VBUS" />
      <resistor name="R1" footprint="0603" resistance="1k" />

      <trace from=".R1 > .neg" to=".LED .pos" />
      <trace from=".LED .neg" to="net.GND" />
    </board>
  )
}

Pinned Loading

  1. Create real electronics with Typescript and React

    TypeScript 1.5k 149

  2. Circuit JSON a low-level circuit representation. Visually represent schematic, PCB, produce Gerber files, produce bill of materials, run SPICE simulations, view warnings and more.

    TypeScript 65 39

  3. The main website, playground and online development environment for tscircuit (React Electronics)

    TypeScript 48 97

  4. Create electronics with Typescript and React. Compile Typescript to Circuit JSON

    TypeScript 47 115

  5. jscad functions for creating components for electronics

    TypeScript 22 33

  6. Runs tscircuit code inside a webworker, view PCBs, schematics and 3D previews

    TypeScript 16 56

Repositories

Showing 10 of 270 repositories

  • status Public

    Status checks for tscircuit services

    tscircuit/status’s past year of commit activity

    HTML 0

    5 4 2

    Updated Mar 16, 2026

  • tscircuit/maintenance-tracker’s past year of commit activity

    HTML 0

    1 0 1

    Updated Mar 16, 2026

  • tscircuit/tscircuit-autorouter’s past year of commit activity

    TypeScript

    50

    MIT

    31 11 5

    Updated Mar 16, 2026

  • tscircuit/contribution-tracker’s past year of commit activity

    TypeScript

    20

    MIT

    25 7 5

    Updated Mar 16, 2026

  • tscircuit/pcbburn.com’s past year of commit activity

    TypeScript

    4

    MIT

    2 0 0

    Updated Mar 16, 2026

  • tscircuit/hypergraph’s past year of commit activity

    TypeScript

    2

    MIT

    8 2 7

    Updated Mar 16, 2026

  • checks Public

    Validity and Design Rule checks for Circuit JSON

    tscircuit/checks’s past year of commit activity

  • cli Public

    Create electronics with React with a local development server

    tscircuit/cli’s past year of commit activity

    TypeScript

    16

    MIT

    55 7 0

    Updated Mar 16, 2026

  • svg.tscircuit.com Public

    A server that takes encoded tscircuit code and renders it into an SVG suitable for use in docs

    tscircuit/svg.tscircuit.com’s past year of commit activity

    TypeScript

    3

    MIT

    20 2 8

    Updated Mar 16, 2026

  • tscircuit Public

    Create real electronics with Typescript and React

    tscircuit/tscircuit’s past year of commit activity