Swatches icon
andrsrxn:swatches
The Swatches icon (andrsrxn:swatches) 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
- swatch
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" d="M10.1 9.6c0-.41 0-.62.09-.8c.07-.2.22-.34.51-.63l2.4-2.35c.66-.66 1-.99 1.4-.99c.42 0 .75.34 1.41 1l2.27 2.27c.67.67 1 1 1 1.41c0 .42-.33.75-1 1.42l-4.66 4.65c-1.45 1.45-2.18 2.18-2.8 1.92c-.61-.25-.61-1.28-.61-3.33z" opacity=".2"/><path fill="currentColor" d="M13.97 14.91c.3-.32.44-.49.63-.58s.4-.09.84-.1l3.7-.05c.95-.01 1.43-.02 1.72.28c.3.29.3.77.3 1.72v3.17c0 .95 0 1.42-.3 1.71c-.28.3-.76.3-1.7.3h-6.45c-1.92 0-2.87 0-3.14-.6c-.26-.59.37-1.3 1.64-2.73z" opacity=".2"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M6.57 21.2a3.74 3.74 0 0 1-3.74-3.74V5.78c0-1.42 0-2.12.44-2.56s1.14-.44 2.56-.44h1.49c1.41 0 2.12 0 2.56.44s.44 1.14.44 2.56v11.68a3.74 3.74 0 0 1-3.75 3.75"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m10.54 8.02l1.81-1.81c1-1 1.5-1.5 2.12-1.5s1.12.5 2.12 1.5l1.05 1.05c1 1 1.5 1.5 1.5 2.12s-.5 1.12-1.5 2.12l-7.78 7.8"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M15.7 13.72h2.56c1.41 0 2.12 0 2.56.44s.44 1.14.44 2.56v1.49c0 1.41 0 2.12-.44 2.56s-1.15.44-2.56.44H6.75"/><path fill="currentColor" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M7.13 17.19a.56.56 0 1 1-1.13 0a.56.56 0 0 1 1.13 0"/></g></svg>How to use the Swatches icon
React
import { Icon } from "@iconify/react";
<Icon icon="andrsrxn:swatches" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="andrsrxn:swatches" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="andrsrxn:swatches" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[andrsrxn--swatches]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/andrsrxn -->
<div class="i-andrsrxn:swatches"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="andrsrxn:swatches"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/andrsrxn/swatches.svg" alt="Swatches icon" width="24" height="24">Swatches icon in other icon sets
Swatches icon FAQ
Is the Swatches 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 Swatches icon in React?
Install @iconify/react and render <Icon icon="andrsrxn:swatches" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Swatches icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/andrsrxn/swatches.svg" alt="Swatches icon">, or paste the SVG code inline to style it with CSS.