ICONYZ
English
Can icon from Pepicons

Can icon

pepicons:can

The Can icon (pepicons:can) is a free SVG icon from the Pepicons set by CyCraft. It is drawn on a 20 × 20 grid. Pepicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Pepicons
Author
CyCraft
License
CC-BY-4.0
Size
20 × 20
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><g fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"><path d="M12.5 2h-5c-1.667.667-2.667 1.667-3 3v10a3 3 0 0 0 3 3h5a3 3 0 0 0 3-3V5c-.333-1.333-1.333-2.333-3-3Zm-6 13V5.294c.19-.502.624-.926 1.411-1.294h4.178c.787.368 1.221.792 1.411 1.294V15a1 1 0 0 1-1 1h-5a1 1 0 0 1-1-1Z"/><path d="M7 9.5a4 4 0 1 0 8 0a4 4 0 0 0-8 0Zm2.805 1.405c-.248.061-.653.185-1.221.373a3.081 3.081 0 0 1-.061-.085c1.258-.378 2.272-.955 3.032-1.734c.682-.697 1.145-1.449 1.382-2.25c.149.126.285.266.407.419c.124.835.03 1.457-.258 1.884c-.356.526-.95.855-1.505 1c-.072.019-.202.048-.403.092l-.398.085l-.213.045l-.113.024c-.274.06-.483.107-.65.148Z"/></g></svg>

How to use the Can icon

React

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

<Icon icon="pepicons:can" width="24" />

Vue

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

<template>
  <Icon icon="pepicons:can" width="24" />
</template>

Svelte

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

<Icon icon="pepicons:can" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="pepicons:can"></iconify-icon>

HTML image

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

Related icons in Pepicons

Can icon in other icon sets

Can icon FAQ

Is the Can icon free for commercial use?

Yes. Pepicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Can icon in React?

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

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

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

Browse all Pepicons →