@tscircuit/pcb-viewer
TypeScript icon, indicating that this package has built-in type declarations

1.3.10 • Public • Published

@tscircuit/pcb-viewer

npm version

Examples · TSCircuit · Open in CodeSandbox

Render PCBs w/ React

Usage

npm install @tscircuit/pcb-viewer
import React, { useEffect, useRef } from "react"
import { PCBViewer } from "@tscircuit/pcb-viewer"

export default () => {
  return (
    <div style={{ backgroundColor: "black" }}>
      <PCBViewer>
        <resistor footprint="0805" resistance="10k" />
      </PCBViewer>
    </div>
  )
}

Readme

Keywords

none

Package Sidebar

Install

npm i @tscircuit/pcb-viewer@1.3.10

Version

1.3.10

License

MIT

Unpacked Size

338 kB

Total Files

5

Last publish

Collaborators

  • seveibar