Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/footprints/silkscreenrect.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ import CircuitPreview from "@site/src/components/CircuitPreview"

<CircuitPreview code={`
export default () => (
<board width="5mm" height="5mm">
<group>
<footprint>
<silkscreenrect pcbX={0} pcbY={0} width={1} height={1} />
</footprint>
</group>
</board>
)
`} />

Expand All @@ -26,6 +28,7 @@ Enable the `filled` prop to create solid silkscreen blocks—useful for alignmen

<CircuitPreview code={`
export default () => (
<board width="5mm" height="5mm">
<group>
<footprint name="U1">
<silkscreenrect pcbX={-1.2} pcbY={0} width={1} height={1} />
Expand All @@ -38,5 +41,6 @@ Enable the `filled` prop to create solid silkscreen blocks—useful for alignmen
/>
</footprint>
</group>
</board>
)
`} />