<footprint />
Overview
Within a <footprint /> element you can define PCB elements such as <platedhole />
or <smtpad />.
Here's an example of a chip with a custom footprint:
export default () => (
<board width="10mm" height="10mm">
  <chip
    name="U1"
    footprint={
      <footprint>
        <platedhole
          portHints={["4"]}
          pcbX="3.2499299999998357mm"
          pcbY="-2.249932000000058mm"
          outerDiameter="1.9999959999999999mm"
          holeDiameter="1.3000228mm"
          shape="circle"
        />
        <platedhole
          portHints={["2"]}
          pcbX="3.2499299999998357mm"
          pcbY="2.249932000000058mm"
          outerDiameter="1.9999959999999999mm"
          holeDiameter="1.3000228mm"
          shape="circle"
        />
        <platedhole
          portHints={["1"]}
          pcbX="-3.2499299999999494mm"
          pcbY="2.249932000000058mm"
          outerDiameter="1.9999959999999999mm"
          holeDiameter="1.3000228mm"
          shape="circle"
        />
        <platedhole
          portHints={["3"]}
          pcbX="-3.2499299999999494mm"
          pcbY="-2.249932000000058mm"
          outerDiameter="1.9999959999999999mm"
          holeDiameter="1.3000228mm"
          shape="circle"
        />
        <silkscreenpath
          route={[
            { x: -2.2743160000001126, y: -2.999994000000015 },
            { x: 2.274315999999999, y: -2.999994000000015 },
          ]}
        />
        <silkscreenpath
          route={[
            { x: -2.999994000000129, y: 1.0999978000000965 },
            { x: -2.999994000000129, y: -0.999998000000005 },
          ]}
        />
        <silkscreenpath
          route={[
            { x: 3.0999937999998792, y: 1.0279888000000028 },
            { x: 3.0999937999998792, y: -1.0999977999999828 },
          ]}
        />
        <silkscreenpath
          route={[
            { x: -1.99999600000001, y: 2.999994000000015 },
            { x: 2.274315999999999, y: 2.999994000000015 },
          ]}
        />
      </footprint>
    }
    schPortArrangement={{
      leftSide: {
        direction: "top-to-bottom",
        pins: [1, 3],
      },
      rightSide: {
        direction: "bottom-to-top",
        pins: [4, 2],
      },
    }}
  />
</board>
)