1 Square icon
bi:1-square
The 1 Square icon (bi:1-square) is a free SVG icon from the Bootstrap Icons set by The Bootstrap Authors. It is drawn on a 24 × 24 grid. Bootstrap 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
- Bootstrap Icons
- Author
- The Bootstrap Authors
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="currentColor"><path d="M9.283 4.002V12H7.971V5.338h-.065L6.072 6.656V5.385l1.899-1.383z"/><path d="M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2zm15 0a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1z"/></g></svg>How to use the 1 Square icon
React
import { Icon } from "@iconify/react";
<Icon icon="bi:1-square" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="bi:1-square" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="bi:1-square" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[bi--1-square]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/bi -->
<div class="i-bi:1-square"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="bi:1-square"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/bi/1-square.svg" alt="1 Square icon" width="24" height="24">Related icons in Bootstrap Icons
1 Square icon in other icon sets
1 Square icon FAQ
Is the 1 Square icon free for commercial use?
Yes. Bootstrap Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the 1 Square icon in React?
Install @iconify/react and render <Icon icon="bi:1-square" />, or use “Copy code” on this page to get a standalone React component.
How do I add the 1 Square icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/bi/1-square.svg" alt="1 Square icon">, or paste the SVG code inline to style it with CSS.