Universe

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 πŸ“œ.

Documentation β€” Examples β€” Forum

Simple examples

You can find the full list of examples here.

Example 1 Example 2
Simple example Wheatstone bridge

Quick usage

#import "@preview/zap:0.2.1"

#zap.canvas({
    import zap: *

    isource("i1", (0,0), (5,0))
    resistor("r1", (5,5), (0,5))
    wire("r1.out", "i1.out")
})

Online 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 procedure and join the journey 🀩!