techmannih/usbc-charger

This code defines a detailed electronic hardware design for an 85-265VAC to USB-C PD 18W wall charger, including the schematic layout and physical component placements such as connectors, filtering inductors, capacitors, resistors, protection diodes, and an isolated power module, all integrated with 3D models and mechanical enclosures.

Version
1.0.7
License
unset
Stars
0

.agents/skills/tscircuit/elements/pcbnoterect.md

# `<pcbnoterect />`

Draw rectangles on your PCB to highlight areas, create visual boundaries, and organize board sections.

## Example

```tsx
export default () => (
  <board width="20mm" height="20mm">
    <pcbnoterect
      pcbX={0}
      pcbY={0}
      width={10}
      height={6}
      strokeWidth={0.3}
      color="#ff0000"
    />
  </board>
)
```

## Props

Commonly used: `width`, `height`, `strokeWidth`, `isFilled`, `hasStroke`, `isStrokeDashed`, `color`, `cornerRadius`

## References

- Props: [PcbNoteRectProps](https://github.com/tscircuit/props#pcbnoterectprops-pcbnoterect)
- Source: [lib/components/pcb-note-rect.ts](https://github.com/tscircuit/props/blob/main/lib/components/pcb-note-rect.ts)
- Local docs: [docs/docs/elements/pcbnoterect.mdx](../docs/docs/elements/pcbnoterect.mdx)