Skip to main content
Built-in Elements

<coppertext />

Overview

The <coppertext /> element places text directly into the copper of your PCB. This is useful for copper labels, exposed branding, test labels, or markings that should become part of the copper geometry instead of silkscreen.

Unlike <pcbnotetext />, copper text is part of the conductive copper layer and can be placed on one or more layers.

Basic Example

export default () => (
<board width="30mm" height="20mm">
<coppertext
pcbX={0}
pcbY={0}
text="GND"
fontSize="2mm"
layer="top"
anchorAlignment="center"
/>
</board>
)
PCB Circuit Preview

Examples

Top and Bottom Copper Labels

export default () => (
<board width="40mm" height="24mm">
<coppertext
pcbX={-10}
pcbY={0}
text="TOP"
fontSize="2mm"
layer="top"
anchorAlignment="center"
/>
<coppertext
pcbX={10}
pcbY={0}
text="BOT"
fontSize="2mm"
layer="bottom"
mirrored
anchorAlignment="center"
/>
</board>
)
PCB Circuit Preview

Knockout Copper Text

export default () => (
<board width="40mm" height="20mm">
<coppertext
pcbX={0}
pcbY={0}
text="KNOCKOUT"
fontSize="4mm"
layer="top"
knockout
anchorAlignment="center"
/>
</board>
)
PCB Circuit Preview

Props

PropertyTypeRequiredDefaultDescription
textstringYes-Text content to render as copper
pcbXdistanceNo-X position on the PCB
pcbYdistanceNo-Y position on the PCB
layerstringNo-Single PCB layer for the copper text
layersstring[]No-Multiple PCB layers to place the same text on
fontSizedistanceNo-Font size
font"tscircuit2024"No"tscircuit2024"Font family
anchorAlignmentnine-point anchorNo"center"Alignment relative to the anchor position
mirroredbooleanNofalseMirror the text, useful for bottom-layer copper
knockoutbooleanNofalseRender the text as a cutout/negative shape in surrounding copper
pcbRotationangleNo0Rotation of the text on the PCB

Notes

  • Use layer for a single target layer and layers when you want the same text repeated on multiple copper layers.
  • If you want non-conductive labeling, use <pcbnotetext /> instead of <coppertext />.