Skip to content

描边宽度

🌐 Stroke width

所有图标都是使用带有描边的 SVG 元素设计的。这些描边的默认宽度为 2px

🌐 All icons are designed with SVG elements using strokes. These have a default stroke width of 2px.

strokeWidth 可以调节,以创建不同样式的图标。

🌐 The strokeWidth can be adjusted to create a different look of the icons.

使用 strokeWidth 属性调整笔画宽度

🌐 Adjusting stroke width with strokeWidth prop

<!DOCTYPE html>
<html>
  <body>
    <i data-lucide="folder-lock" stroke-width="1"></i>

    <script src="index.js"></script>
  </body>
</html>