ICONYZ
English
Color Swatch icon from Reicon

Color Swatch icon

reicon:color-swatch

The Color Swatch icon (reicon:color-swatch) is a free SVG icon from the Reicon set. It is drawn on a 24 × 24 grid. Reicon 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
Reicon
Author
REICON
License
MIT
Size
24 × 24
Category
Newicons
Tags
colorswatch
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"><path d="M10 4.5V18c0 1.08-.44 2.07-1.14 2.79l-.04.04c-.09.09-.19.18-.28.25c-.3.26-.64.46-.99.6c-.11.05-.22.09-.33.13c-.39.13-.81.19-1.22.19c-.27 0-.54-.03-.8-.08c-.13-.03-.26-.06-.39-.1c-.16-.05-.31-.1-.46-.17c0-.01 0-.01-.01 0c-.28-.14-.55-.3-.8-.49l-.01-.01c-.13-.1-.25-.2-.36-.32s-.22-.24-.33-.37c-.19-.25-.35-.52-.49-.8c.01-.01.01-.01 0-.01c0 0 0-.01-.01-.02c-.06-.14-.11-.29-.16-.44a6 6 0 0 1-.1-.39c-.05-.26-.08-.53-.08-.8V4.5C2 3 3 2 4.5 2h3C9 2 10 3 10 4.5"/><path d="M22 16.5v3c0 1.5-1 2.5-2.5 2.5H6c.41 0 .83-.06 1.22-.19c.11-.04.22-.08.33-.13c.35-.14.69-.34.99-.6c.09-.07.19-.16.28-.25l.04-.04l6.8-6.79h3.84c1.5 0 2.5 1 2.5 2.5M4.81 21.82c-.6-.18-1.17-.51-1.64-.99c-.48-.47-.81-1.04-.99-1.64a4.02 4.02 0 0 0 2.63 2.63"/><path d="M18.37 11.29L15.66 14l-6.8 6.79C9.56 20.07 10 19.08 10 18V8.34l2.71-2.71c1.06-1.06 2.48-1.06 3.54 0l2.12 2.12c1.06 1.06 1.06 2.48 0 3.54M6 19a1 1 0 1 0 0-2a1 1 0 0 0 0 2"/></g></svg>

How to use the Color Swatch icon

React

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

<Icon icon="reicon:color-swatch" width="24" />

Vue

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

<template>
  <Icon icon="reicon:color-swatch" width="24" />
</template>

Svelte

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

<Icon icon="reicon:color-swatch" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="reicon:color-swatch"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/reicon/color-swatch.svg" alt="Color Swatch icon" width="24" height="24">

Related icons in Reicon

Color Swatch icon in other icon sets

Color Swatch icon FAQ

Is the Color Swatch icon free for commercial use?

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

How do I use the Color Swatch icon in React?

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

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

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

Browse all Reicon icons →