Zap is a lightweight πͺΆ Typst package that makes drawing electronic circuits simple and intuitive. Itβs the first Typst library designed to align with widely recognized standards like IEC and IEEE/ANSI π.
Examples
You can find the full list of examples here.
![]() | ![]() |
Simple example | Wheatstone bridge |
Usage
#import "@preview/zap:0.1.0"
#zap.canvas({
import zap: *
isource("i1", (0,0), (5,0))
resistor("r1", (5,5), (0,5))
wire("r1.out", "i1.minus")
})
Documentation
You can find the full documentation π available online. It provides comprehensive guides, a detailed list of components, full API references, 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 guidelines and join the journey π€©!