ICONYZ
English
Stroke Width icon from andrsrxn/icons

Stroke Width icon

andrsrxn:stroke-width

The Stroke Width icon (andrsrxn:stroke-width) is a free SVG icon from the andrsrxn/icons set by Andrés Raxón. It is drawn on a 24 × 24 grid. andrsrxn/icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
andrsrxn/icons
Author
Andrés Raxón
License
MIT
Size
24 × 24
Category
Design
Tags
strokewidth
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M21.38 20H2.64"/><rect width="3.09" height="18.74" fill="currentColor" opacity=".2" rx="1" transform="matrix(0 -1 -1 0 21.36 15.67)"/><rect width="4.69" height="18.74" fill="currentColor" opacity=".2" rx="1" transform="matrix(0 -1 -1 0 21.36 8.7)"/><rect width="3.09" height="18.74" x="21.36" y="12.59" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" rx="1" transform="rotate(90 21.36 12.59)"/><rect width="4.69" height="18.74" x="21.36" y="4" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" rx="1" transform="rotate(90 21.36 4)"/></g></svg>

How to use the Stroke Width icon

React

import { Icon } from "@iconify/react";

<Icon icon="andrsrxn:stroke-width" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="andrsrxn:stroke-width" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="andrsrxn:stroke-width" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[andrsrxn--stroke-width]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/andrsrxn -->
<div class="i-andrsrxn:stroke-width"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="andrsrxn:stroke-width"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/andrsrxn/stroke-width.svg" alt="Stroke Width icon" width="24" height="24">

Related icons in andrsrxn/icons

Stroke Width icon in other icon sets

Stroke Width icon FAQ

Is the Stroke Width icon free for commercial use?

Yes. andrsrxn/icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Stroke Width icon in React?

Install @iconify/react and render <Icon icon="andrsrxn:stroke-width" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Stroke Width icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/andrsrxn/stroke-width.svg" alt="Stroke Width icon">, or paste the SVG code inline to style it with CSS.

Browse all andrsrxn/icons →