Capítulo 75 de 147

Chapter 75: With Lucide Lab or custom icons

Core Idea

Learn how to use Lucide Lab or custom icons in your Astro applications using the Icon component.

Key Concepts

  • Using the Icon component

Code Examples

---
import { Icon } from '@lucide/astro';
import { burger, sausage } from '@lucide/lab';
---

<Icon iconNode={burger} />
<Icon iconNode={sausage} color="red"/>
  • What it demonstrates: With Lucide Lab or custom icons usage pattern from the official Lucide docs.

Key Takeaways

  1. Using the Icon component

Connects To

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