Swatch icon
hugeicons:swatch
The Swatch icon (hugeicons:swatch) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge 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
- Huge Icons
- Author
- Hugeicons
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor"><path stroke-linecap="round" stroke-width="1.5" d="M16.555 4c.463.429.987.965 1.616 1.609C20.057 7.538 21 8.502 21 9.7s-.943 2.162-2.829 4.092l-6.4 6.547q-.364.37-.771.66"/><path stroke-linecap="round" stroke-width="1.5" d="M2 16.615C2 19.59 4.487 22 7.556 22h8.888c2.62 0 3.929 0 4.742-.789c.814-.788.814-2.057.814-4.596c0-.607 0-1.142-.011-1.615"/><path stroke-width="1.5" d="M2 7.556c0-2.62 0-3.929.805-4.742C3.611 2 4.907 2 7.5 2s3.89 0 4.695.814C13 3.627 13 4.937 13 7.556v8.888C13 19.513 10.538 22 7.5 22S2 19.513 2 16.444z"/><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7.5 17.5h.009"/><path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M2 8h11M2 13h11"/></g></svg>How to use the Swatch icon
React
import { Icon } from "@iconify/react";
<Icon icon="hugeicons:swatch" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="hugeicons:swatch" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="hugeicons:swatch" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[hugeicons--swatch]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/hugeicons -->
<div class="i-hugeicons:swatch"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="hugeicons:swatch"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/hugeicons/swatch.svg" alt="Swatch icon" width="24" height="24">Related icons in Huge Icons
Swatch icon in other icon sets
Swatch icon FAQ
Is the Swatch icon free for commercial use?
Yes. Huge Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Swatch icon in React?
Install @iconify/react and render <Icon icon="hugeicons:swatch" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Swatch icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/hugeicons/swatch.svg" alt="Swatch icon">, or paste the SVG code inline to style it with CSS.