<silkscreenrect />
Overview
Silkscreen rectangles can be used to encapsulate a rectangular area around a chip
export default () => (
<group>
<footprint>
<silkscreenrect pcbX={0} pcbY={0} width={1} height={1} />
</footprint>
</group>
)
Filled Silkscreen Rectangles
Enable the isFilled prop to create solid silkscreen blocks—useful for alignment targets or bold markings. You can mix filled and outlined rectangles within the same footprint.
export default () => (
<group>
<footprint name="U1">
<silkscreenrect pcbX={-1.2} pcbY={0} width={1} height={1} />
<silkscreenrect
pcbX={1.2}
pcbY={0}
width={1}
height={1}
isFilled
/>
</footprint>
</group>
)