Skip to main content

<silkscreenline />

Overview

The <silkscreenline /> element creates a line on the silkscreen layer within a footprint.

export default () => (
<board width="50mm" height="50mm">
<footprint>
<silkscreenline
x1="10mm"
y1="10mm"
x2="40mm"
y2="40mm"
strokeWidth="0.1mm"
/>
</footprint>
</board>
)
PCB Circuit Preview

Properties

PropertyDescription
x1X coordinate of the starting point
y1Y coordinate of the starting point
x2X coordinate of the ending point
y2Y coordinate of the ending point
strokeWidthStroke width of the line

Feel free to experiment with different coordinate values to see how the silkscreen line is rendered.