Capítulo 33 de 147

Chapter 33: Stroke width

Core Idea

Learn how to adjust the stroke width of icons in your Vue application using the strokeWidth prop or adjust the strokeWidth appearance using the absoluteStrokeWidth prop.

Key Concepts

  • Adjusting stroke width with strokeWidth prop
  • Absolute stroke width

Code Examples

<script setup>
import { FolderLock } from "@lucide/vue";
</script>

<template>
  <FolderLock :strokeWidth="1" />
</template>
  • 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

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