The bug component is a general-purpose way to create “box-like” schematic components. It is the most common component after passives.

Example Usage

a555Timer.tsx
export const A555Timer = ({ name, footprint, ...props }) => (
  <bug
    name={name}
    footprint={footprint ?? <DualInlinePackage pad_count={8} />}
    schPortArrangement={{
      left_size: 4,
      right_size: 4,
    }}
    pinLabels={{
      "1": "GND",
      "2": "TRIG",
      "3": "OUT",
      "4": "RESET",
      "5": "CTRL",
      "6": "THRES",
      "7": "DISCH",
      "8": "VCC",
    }}
    {...props}
  />
)