Capítulo 71 de 147

Chapter 71: Stroke width

Core Idea

Learn how to customize the stroke width of Lucide icons in your Astro applications using the strokeWidth and absoluteStrokeWidth props.

Key Concepts

  • Adjusting stroke width with strokeWidth prop
  • Absolute stroke width

Code Examples

---
import FolderLock from '@lucide/astro/icons/folder-lock';
---

<FolderLock strokeWidth={1} />
  • What it demonstrates: Stroke width usage pattern from the official Lucide docs.

Key Takeaways

  1. Adjusting stroke width with strokeWidth prop
  2. Absolute stroke width

Connects To

  • Astro: part of the Astro section of the Lucide docs.
  • Lucide for Astro: overview page for this section.