Skip to main content
Built-in Elements

<opamp />

Overview

An <opamp /> represents an operational amplifier. It is useful for analog circuits such as gain stages, filters, and signal conditioning blocks.

The element includes the standard op-amp connections for the inverting input, non-inverting input, output, and power pins.

For parts with unusual pinouts or extra control pins, prefer <chip />.

export default () => (
<board width="10mm" height="10mm">
<net name="VCC" isPowerNet />
<net name="VEE" isGroundNet />

<opamp
name="U1"
footprint="soic8"
connections={{
non_inverting_input: "net.IN_POS",
inverting_input: "net.IN_NEG",
output: "net.OUT",
positive_supply: "net.VCC",
negative_supply: "net.VEE",
}}
/>
</board>
)
Schematic Circuit Preview

In this example, the op-amp is placed on a board and connected to named input, output, and supply nets.

Properties

PropertyDescriptionExample
connectionsNet connections for the standard op-amp pins.{ output: "net.OUT" }
footprintPCB footprint string or custom footprint."soic8"
symbolNameOverride the default schematic symbol name."opamp_with_power"

Pins

An op-amp has the following pins and aliases:

  • pin1/non_inverting_input - The non-inverting input
  • pin2/inverting_input - The inverting input
  • pin3 or pin4/output - The output pin
  • pin4 or pin5/positive_supply/vcc/vdd - The positive supply pin
  • pin5 or pin3/negative_supply/vee/vss/gnd - The negative supply pin

If you need a different pinout, multiple amplifier channels in one package, or extra enable/offset pins, use <chip /> with explicit pinLabels.