Number 2 icon
griddy-icons:number-2
The Number 2 icon (griddy-icons:number-2) is a free SVG icon from the Griddy Icons set by Zuzana Benova. It is drawn on a 24 × 24 grid. Griddy 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
- Griddy Icons
- Author
- Zuzana Benova
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M17.5 21h-11v-7.25A2.755 2.755 0 0 1 9.25 11h5.5c.69 0 1.25-.56 1.25-1.25v-4c0-.69-.56-1.25-1.25-1.25H6.5V3h8.25a2.755 2.755 0 0 1 2.75 2.75v4a2.755 2.755 0 0 1-2.75 2.75h-5.5c-.69 0-1.25.56-1.25 1.25v5.75h9.5z"/></svg>How to use the Number 2 icon
React
import { Icon } from "@iconify/react";
<Icon icon="griddy-icons:number-2" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="griddy-icons:number-2" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="griddy-icons:number-2" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[griddy-icons--number-2]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/griddy-icons -->
<div class="i-griddy-icons:number-2"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="griddy-icons:number-2"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/griddy-icons/number-2.svg" alt="Number 2 icon" width="24" height="24">Related icons in Griddy Icons
Number 2 icon in other icon sets
Number 2 icon FAQ
Is the Number 2 icon free for commercial use?
Yes. Griddy Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Number 2 icon in React?
Install @iconify/react and render <Icon icon="griddy-icons:number-2" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Number 2 icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/griddy-icons/number-2.svg" alt="Number 2 icon">, or paste the SVG code inline to style it with CSS.