ICONYZ
English
Spray Can icon from Boxicons

Spray Can icon

boxicons:spray-can

The Spray Can icon (boxicons:spray-can) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons 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
Boxicons
Author
Boxicons
License
MIT
Size
24 × 24
Tags
spraycan
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M4 22h10c.55 0 1-.45 1-1v-9c0-2.22-1.21-4.15-3-5.19V3c0-.55-.45-1-1-1H7c-.55 0-1 .45-1 1v3.81C4.21 7.85 3 9.78 3 12v9c0 .55.45 1 1 1m9-2H5v-6h8zM8 6V4h2v2zm1 2c2.21 0 4 1.79 4 4H5c0-2.21 1.79-4 4-4m5-5h2v2h-2zm3 0h2v2h-2zm0 3h2v2h-2zm3-3h2v2h-2zm0 3h2v2h-2zm0 3h2v2h-2z"/></svg>

How to use the Spray Can icon

React

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

<Icon icon="boxicons:spray-can" width="24" />

Vue

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

<template>
  <Icon icon="boxicons:spray-can" width="24" />
</template>

Svelte

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

<Icon icon="boxicons:spray-can" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--spray-can]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/boxicons -->
<div class="i-boxicons:spray-can"></div>

Web component

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

<iconify-icon icon="boxicons:spray-can"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/boxicons/spray-can.svg" alt="Spray Can icon" width="24" height="24">

Related icons in Boxicons

Spray Can icon in other icon sets

Spray Can icon FAQ

Is the Spray Can icon free for commercial use?

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

How do I use the Spray Can icon in React?

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

How do I add the Spray Can icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/boxicons/spray-can.svg" alt="Spray Can icon">, or paste the SVG code inline to style it with CSS.

Browse all Boxicons →