Skip to main content
Built-in Elements

<led />

Overview​

Light emitting diodes are diodes that emit light when current passes through them. They are commonly used as indicators on a circuit board such as a "power on indicator" or "data transfer in progress indicator".

export default () => (
<board width="10mm" height="10mm">
<led name="LED1" footprint="0603" color="red" />
</board>
)
Schematic Circuit Preview

Properties​

PropertyExample ValueDescription
colorredThe color of the LED. red LEDs are most common.
forwardVoltage1.6VThe voltage drop across the LED when forward current is applied.

Color Example​

Here's an example showing how to use different LED colors in a board layout:

export default () => (
<board width="10mm" height="10mm">
<led name="D1" footprint="0805" color="blue" pcbY={2} />
<led name="D2" footprint="0805" color="green"/>
<led name="D3" footprint="0805" color="red" pcbY={-2}/>
</board>
)
3D Circuit Preview

Common LED Footprints​

The following represent the most common footprints for LEDs based on jlcsearch, you can provide these as the footprint property to the led element e.g. <led footprint="led0603" />

Footprint~JLCPCB Popularity
led060337%
led080523%
led120610%
led04024%

Automatic Part Selection​

LEDs are automatically selected according to their color and footprint using the platform parts engine