Skip to content
@tscircuit

tscircuit

Create Electronics with React

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 width="12mm" height="30mm">
      <USBC
        connections={{
          GND: "net.GND",
          VBUS: "net.VBUS"
        }}
      />
      <led
        name="LED"
        supplierPartNumbers={{
          jlcpcb: ["965799"],
        }}
        color="red"
        footprint="0603"
        pcbY={12}
        schY={2}
      />
      <button pin2=".R1 > .pos" pin3="net.VBUS" schY={-2} />
      <resistor name="R1" footprint="0603" resistance="1k" />

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

Popular repositories Loading

  1. tscircuit tscircuit Public

    Create real electronics with Typescript and React

    TypeScript 1.1k 39

  2. simple-3d-svg simple-3d-svg Public

    An extremely simple 3D SVG renderer (20KB minified)

    TypeScript 69 1

  3. minicssgrid minicssgrid Public

    A tiny CSS grid implementation in typescript

    TypeScript 61

  4. jscad-fiber jscad-fiber Public

    Create 3d CAD models with React using jscad

    TypeScript 44 18

  5. autorouting autorouting Public

    Algorithms and dataset of autorouting problems for developing and benchmarking autorouters

    TypeScript 39 9

  6. circuit-json circuit-json Public

    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 36 18

Repositories

Showing 10 of 187 repositories
  • status Public

    Status checks for tscircuit services

    tscircuit/status’s past year of commit activity
    HTML 0 5 4 0 Updated Aug 8, 2025
  • maintenance-tracker Public

    Tracks key metrics for evaluating maintenance of CI testing

    tscircuit/maintenance-tracker’s past year of commit activity
    HTML 0 1 0 1 Updated Aug 8, 2025
  • docs Public

    docs, tutorials and guides for tscircuit (Electronics with React/Typescript)

    tscircuit/docs’s past year of commit activity
    TypeScript 2 7 19 3 Updated Aug 8, 2025
  • tscircuit.com Public

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

    tscircuit/tscircuit.com’s past year of commit activity
    TypeScript 32 MIT 63 21 2 Updated Aug 8, 2025
  • 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 1 MIT 3 1 3 Updated Aug 8, 2025
  • tscircuit Public

    Create real electronics with Typescript and React

    tscircuit/tscircuit’s past year of commit activity
    TypeScript 1,076 MIT 39 122 (4 issues need help) 2 Updated Aug 8, 2025
  • kicad-component-converter Public

    Convert kicad mod files into Circuit JSON

    tscircuit/kicad-component-converter’s past year of commit activity
    TypeScript 6 MIT 9 4 6 Updated Aug 8, 2025
  • browser-preview.tscircuit.com Public

    Create a preview of tscircuit code

    tscircuit/browser-preview.tscircuit.com’s past year of commit activity
    TypeScript 1 MIT 0 2 2 Updated Aug 8, 2025
  • 3d-viewer Public

    3d viewer for printed circuit boards created using tscircuit

    tscircuit/3d-viewer’s past year of commit activity
    TypeScript 5 MIT 21 27 (1 issue needs help) 2 Updated Aug 8, 2025
  • rp2040-zero Public
    tscircuit/rp2040-zero’s past year of commit activity
    TypeScript 0 0 0 1 Updated Aug 8, 2025