Universe

Latest release License Milestone

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 🀩!