ICONYZ
English
Swatch Line icon from Sargam Icons

Swatch Line icon

si:swatch-line

The Swatch Line icon (si:swatch-line) is a free SVG icon from the Sargam Icons set by Abhimanyu Rana. It is drawn on a 24 × 24 grid. Sargam 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
Sargam Icons
Author
Abhimanyu Rana
License
MIT
Size
24 × 24
Tags
swatchline
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="1.5" d="M6 18h-.008M6 21h12a3 3 0 1 0 0-6h-4.787M6 21a3 3 0 0 1-3-3V6a3 3 0 0 1 6 0v12c0 .7-.24 1.346-.643 1.856M6 21c.956 0 1.808-.447 2.357-1.144M9 10.728l3.607-3.607a3 3 0 1 1 4.242 4.243l-8.492 8.492"/></svg>

How to use the Swatch Line icon

React

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

<Icon icon="si:swatch-line" width="24" />

Vue

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

<template>
  <Icon icon="si:swatch-line" width="24" />
</template>

Svelte

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

<Icon icon="si:swatch-line" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[si--swatch-line]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/si -->
<div class="i-si:swatch-line"></div>

Web component

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

<iconify-icon icon="si:swatch-line"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/si/swatch-line.svg" alt="Swatch Line icon" width="24" height="24">

Related icons in Sargam Icons

Swatch Line icon FAQ

Is the Swatch Line icon free for commercial use?

Yes. Sargam Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Swatch Line icon in React?

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

How do I add the Swatch Line icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/si/swatch-line.svg" alt="Swatch Line icon">, or paste the SVG code inline to style it with CSS.

Browse all Sargam Icons →