Zap β‘ is a Typst package that makes drawing electronic circuits simple and intuitive π₯. Itβs the first circuit library inspired by widely recognized standards π§· like IEC and IEEE/ANSI.
Documentation β Examples β Forum
Examples
You can find the full list of examples here.
Operational amplifier
MicroController Unit
Quick usage
#import "@preview/zap:0.4.0"
#zap.circuit({
import zap: *
// Here is a minimalist example
node("B", (0, 0))
resistor("r1", "B", (rel: (0, 4)), i: $i_1$)
})
Online documentation
You can find the full documentation π available online. It provides comprehensive guides, a detailed list of components, styling options and example codes to get you started easily.
Contributing
I highly welcome contributions π±! Creating and maintaining Zap takes time and love. If youβd like to help, check out the contribution procedure and join the journey π€©!