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 70 1

  3. minicssgrid minicssgrid Public

    A tiny CSS grid implementation in typescript

    TypeScript 64

  4. jscad-fiber jscad-fiber Public

    Create 3d CAD models with React using jscad

    TypeScript 45 18

  5. autorouting autorouting Public archive

    Algorithms and dataset of autorouting problems for developing and benchmarking autorouters

    TypeScript 38 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 19

Repositories

Showing 10 of 187 repositories
  • circuitjson.com Public

    View circuit json online

    tscircuit/circuitjson.com’s past year of commit activity
    TypeScript 2 MIT 2 2 3 Updated Aug 18, 2025
  • status Public

    Status checks for tscircuit services

    tscircuit/status’s past year of commit activity
    HTML 0 5 4 0 Updated Aug 18, 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 18, 2025
  • runframe Public

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

    tscircuit/runframe’s past year of commit activity
    TypeScript 7 MIT 34 5 4 Updated Aug 18, 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 23 3 Updated Aug 18, 2025
  • schematic-viewer Public

    React Component for Viewing Electronics Schematics

    tscircuit/schematic-viewer’s past year of commit activity
    TypeScript 11 MIT 12 9 4 Updated Aug 18, 2025
  • eval Public

    Evaluate tscircuit code to Circuit JSON in browsers, Node, or in web workers

    tscircuit/eval’s past year of commit activity
    TypeScript 3 MIT 14 7 5 Updated Aug 18, 2025
  • core Public

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

    tscircuit/core’s past year of commit activity
    TypeScript 25 MIT 44 16 (1 issue needs help) 2 Updated Aug 18, 2025
  • circuit-json-to-gerber Public

    Convert Circuit JSON to Gerber

    tscircuit/circuit-json-to-gerber’s past year of commit activity
    TypeScript 1 5 1 3 Updated Aug 18, 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) 3 Updated Aug 18, 2025