Capítulo 57 de 147

Chapter 57: Sizing

Core Idea

Learn how to adjust the size of icons in your Solid 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

import Landmark from 'lucide-solid/icons/landmark';

function App() {
  return (
    <div class="app">
      <Landmark size={64} />
    </div>
  );
}

export default App;
  • What it demonstrates: Sizing usage pattern from the official Lucide docs.

Key Takeaways

  1. Adjusting the icon size using the size prop
  2. Adjusting the icon size via CSS

Connects To

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