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>
      <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. tscircuit tscircuit Public

    Create real electronics with Typescript and React

    TypeScript 1.2k 44

  2. 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

  3. tscircuit.com tscircuit.com Public

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

    TypeScript 34 64

  4. core core Public

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

    TypeScript 27 49

  5. jscad-electronics jscad-electronics Public

    jscad functions for creating components for electronics

    TypeScript 17 15

  6. runframe runframe Public

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

    TypeScript 7 34

Repositories

Showing 10 of 194 repositories