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 59

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

Repositories

Showing 10 of 186 repositories
  • status Public

    Status checks for tscircuit services

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

    micro-builder and DSL for creating PCB footprints, built for AI

    tscircuit/footprinter’s past year of commit activity
    TypeScript 11 MIT 25 25 (1 issue needs help) 5 Updated Aug 4, 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 33 8 3 Updated Aug 4, 2025
  • circuit-json-to-spice Public

    Convert Circuit JSON into ngspice compatible SPICE netlists

    tscircuit/circuit-json-to-spice’s past year of commit activity
    TypeScript 1 MIT 3 1 1 Updated Aug 4, 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 43 23 (1 issue needs help) 1 Updated Aug 4, 2025
  • contribution-tracker Public

    Generate a contribution summary for your projects

    tscircuit/contribution-tracker’s past year of commit activity
    TypeScript 16 MIT 13 9 3 Updated Aug 4, 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 4, 2025
  • sparkfun-boards Public

    Sparkfun boards recreated in tscircuit

    tscircuit/sparkfun-boards’s past year of commit activity
    TypeScript 2 MIT 6 11 4 Updated Aug 4, 2025

Sponsoring

  • @Anshgrover23
  • @techmannih
  • @ShiboSoftwareDev
  • @MustafaMulla29
  • @ArnavK-09
  • @Abse2001
  • @MattIPv4
  • @yaqwsx
  • @ovidiuch
  • @andrasfuchs

Top languages

Loading…

Most used topics

Loading…