ICONYZ
English
Spray Can icon from BoxIcons v2

Spray Can icon

bx:spray-can

The Spray Can icon (bx:spray-can) is a free SVG icon from the BoxIcons v2 set by Boxicons. It is drawn on a 24 × 24 grid. BoxIcons v2 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
BoxIcons v2
Author
Boxicons
License
MIT
Size
24 × 24
Tags
spraycan, bx spray can
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="M11.002 2h-4a1 1 0 0 0-1 1v3.812a6 6 0 0 0-3 5.188v.988L3 13l.002.072V21a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-9a6 6 0 0 0-3-5.188V3a1 1 0 0 0-1-1m-3 4V4h2v2zm5.001 14h-8v-6h8zm-8.001-8c0-2.206 1.794-4 4-4s4 1.794 4 4zm8.001-9h2v2h-2zM16 3h2v2h-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="bx:spray-can" width="24" />

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Spray Can icon in other icon sets

Spray Can icon FAQ

Is the Spray Can icon free for commercial use?

Yes. BoxIcons v2 icons 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="bx: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/bx/spray-can.svg" alt="Spray Can icon">, or paste the SVG code inline to style it with CSS.

Browse all BoxIcons v2 icons →