Box icon
andrsrxn:box
The Box icon (andrsrxn:box) is a free SVG icon from the andrsrxn/icons set by Andrés Raxón. It is drawn on a 24 × 24 grid. andrsrxn/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
- andrsrxn/icons
- Author
- Andrés Raxón
- License
- MIT
- Size
- 24 × 24
- Category
- Tools
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path fill="currentColor" d="m21.01 17.2l-7.86 4.65a.5.5 0 0 1-.76-.43v-8.9q0-.29.27-.44l7.86-4.2a.5.5 0 0 1 .74.45v8.43a.5.5 0 0 1-.25.43" opacity=".2"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M2.58 13.83v-3.66c0-1.7 0-2.54.4-3.24s1.14-1.12 2.6-1.96L9 2.99c1.46-.84 2.2-1.26 3-1.26s1.54.42 3 1.26l3.42 1.98c1.46.84 2.2 1.27 2.6 1.96c.4.7.4 1.54.4 3.24v3.66c0 1.7 0 2.54-.4 3.24s-1.14 1.12-2.6 1.96L15 21.01c-1.46.84-2.2 1.26-3 1.26s-1.54-.42-3-1.26l-3.42-1.98c-1.46-.84-2.2-1.27-2.6-1.96c-.4-.7-.4-1.54-.4-3.24m.54-6.3L12 12.42m0 0v9.52M7.3 9.57v4.61m13.58-6.65L12 12.42M7.3 9.57l9.14-5.42"/></g></svg>How to use the Box icon
React
import { Icon } from "@iconify/react";
<Icon icon="andrsrxn:box" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="andrsrxn:box" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="andrsrxn:box" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[andrsrxn--box]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/andrsrxn -->
<div class="i-andrsrxn:box"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="andrsrxn:box"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/andrsrxn/box.svg" alt="Box icon" width="24" height="24">Related icons in andrsrxn/icons
Box icon in other icon sets
Box icon FAQ
Is the Box icon free for commercial use?
Yes. andrsrxn/icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Box icon in React?
Install @iconify/react and render <Icon icon="andrsrxn:box" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Box icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/andrsrxn/box.svg" alt="Box icon">, or paste the SVG code inline to style it with CSS.