Essential Elements
There are some essential elements you'll need for almost every circuit you make, this doc gives a brief overview of each of them so you can jump right in and get started building electronics!
Configuring Chips
Walk through configuring <chip />
components, from defining pin labels and footprints to wiring reusable chip abstractions.
Automatic PCB Layout
Explore tscircuit's automatic PCB layout engines: pcbFlex, pcbGrid, and pcbPack, and learn how to choose the right approach for arranging components quickly.
Automatic Schematic Layout
Understand how the default schematic autolayout arranges components and discover options for nudging results with manual edits and layout helpers.
Using Layout Properties
There are many ways to layout your schematic and PCB with tscircuit including automatic layout and manual edits. In this article we'll discuss how to programmatically lay out a board using layout properties like schX
/schY
and pcbX
and pcbY
Manual Edits
Learn how to capture drag-and-drop adjustments in manual-edits.json
, use the schematic and PCB editors to create them, and troubleshoot when changes don't apply.
Pinout SVG
Generate shareable pinout diagrams by annotating components with pinAttributes
and exporting the interactive SVG view.
Port and Net Selectors
Learn how to target ports, nets, and components with selector strings, and see practical examples for traces and component props.
tscircuit.config.json
Configure your tscircuit project settings
Using Expressions for Component Values
Use JavaScript expressions inside circuits to derive component values that react to other parameters, like voltage dividers or tuned filters.
Using Groups for PCB Layout
Groups can help you break up your layout problem into smaller, more manageable and reusable parts.
Using "sel" References
Reference components, pins, and modules with the type-safe sel
helper and learn when to use conventional selectors or component-aware lookups.