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
- Adjusting stroke width with
strokeWidth prop
- Absolute stroke width
Connects To
- Astro: part of the Astro section of the Lucide docs.
- Lucide for Astro: overview page for this section.