Chapter 45: Sizing
Core Idea
Learn how to adjust the size of icons in your Svelte application using the size prop or by using CSS.
Key Concepts
- Adjusting the icon size using the
size prop
- Adjusting the icon size via CSS
Code Examples
<script>
import Landmark from '@lucide/svelte/icons/landmark';
</script>
<Landmark size={64} />
- What it demonstrates: Sizing usage pattern from the official Lucide docs.
Key Takeaways
- Adjusting the icon size using the
size prop
- Adjusting the icon size via CSS
Connects To
- Svelte: part of the Svelte section of the Lucide docs.
- Lucide for Svelte: overview page for this section.