Skip to main content
Built-in Elements

<diode />

Overview​

Diodes are semiconductor devices that allow current to flow primarily in one direction, making them ideal for rectification, signal clipping, and protection against reverse voltage. They are essential in power supply circuits and for protecting sensitive components from voltage spikes.

export default () => (
<board width="10mm" height="10mm">
<diode name="D1" footprint="sod123" />
</board>
)
Schematic Circuit Preview

In this example, the diode is placed on a board using the default footprint "smd-diode".

Properties​

PropertyTypeDescriptionExample
forwardVoltagenumberThe forward voltage drop of the diode.0.7V

Pins​

Diodes have two pins:

  • pin1/anode/pos - The positive terminal where current enters.
  • pin2/cathode/neg - The negative terminal where current exits.