Swatch Duotone icon
si:swatch-duotone
The Swatch Duotone icon (si:swatch-duotone) 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
- swatchduotone
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path fill="currentColor" fill-opacity=".16" d="M3 6a3 3 0 0 1 6 0v12c0 .7-.24 1.346-.643 1.856A3 3 0 0 1 3 18z"/><path 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"/></g></svg>How to use the Swatch Duotone icon
React
import { Icon } from "@iconify/react";
<Icon icon="si:swatch-duotone" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="si:swatch-duotone" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="si:swatch-duotone" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[si--swatch-duotone]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/si -->
<div class="i-si:swatch-duotone"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="si:swatch-duotone"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/si/swatch-duotone.svg" alt="Swatch Duotone icon" width="24" height="24">Related icons in Sargam Icons
Swatch Duotone icon FAQ
Is the Swatch Duotone 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 Duotone icon in React?
Install @iconify/react and render <Icon icon="si:swatch-duotone" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Swatch Duotone icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/si/swatch-duotone.svg" alt="Swatch Duotone icon">, or paste the SVG code inline to style it with CSS.