# LED Strip Component
[](https://components.espressif.com/components/espp/led_strip)
The `LedStrip` component provides APIs to control LED strips. It supports
various LED strip types, such as WS2812, WS2811, WS2813, SK6812, APA102, etc.
You can use it directly with an SPI driver to talk to APA102 LED strips, or you
can use it with a RMT driver (such as the `Rmt` component) to talk to WS2812,
WS2811, WS2813, SK6812, etc. LED strips.
## Usage
The Config struct accepts `std::span<const uint8_t>` for start and end frames,
allowing efficient use of memory. For backwards compatibility, you can:
- Use empty frames: `.start_frame = {}`
- Use the predefined `LedStrip::APA102_START_FRAME` vector (auto-converts to span)
- Use `std::array` with CTAD: `.start_frame = std::array{0x00, 0x00, 0x00, 0x00}`
- Pass any existing vector or array that will be converted to a span
## Example
The [example](./example) shows the use of the `LedStrip` class to control a 5x5
array of RGB LEDs (SK6805).
4ed418ef029caf4885182c12a0fbbee3b23d4497
idf.py add-dependency "espp/led_strip^1.0.34"