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/mosfet.md
# `<mosfet />`
A MOSFET or "metal-oxide-semiconductor field-effect transistor" is a type of transistor that is used to control the flow of current through a circuit.
## Example
```tsx
export default () => (
<mosfet
name="Q1"
channelType="n"
mosfetMode="depletion"
footprint="sot23"
/>
)
```
## Props
Commonly used: `channelType`, `mosfetMode`, `name`, `footprint`, `connections`
## References
- Props: [MosfetProps](https://github.com/tscircuit/props#mosfetprops-mosfet)
- Source: [lib/components/mosfet.ts](https://github.com/tscircuit/props/blob/main/lib/components/mosfet.ts)
- Local docs: [docs/docs/elements/mosfet.mdx](../docs/docs/elements/mosfet.mdx)