ICONYZ
English
Boxes icon from Lucide

Boxes icon

lucide:boxes

The Boxes icon (lucide:boxes) is a free SVG icon from the Lucide set by Lucide Contributors. It is drawn on a 24 × 24 grid. Lucide icons are released under the ISC 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
Lucide
Author
Lucide Contributors
License
ISC
Size
24 × 24
Tags
cubes, packages, parts, group, units, collection, cluster, geometry, box
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3zM7 16.5l-4.74-2.85M7 16.5l5-3m-5 3v5.17m5-8.17V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5zm5 3l-5-3m5 3l4.74-2.85M17 16.5v5.17"/><path d="M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3l5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0zM12 8L7.26 5.15M12 8l4.74-2.85M12 13.5V8"/></g></svg>

How to use the Boxes icon

React

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

<Icon icon="lucide:boxes" width="24" />

Vue

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

<template>
  <Icon icon="lucide:boxes" width="24" />
</template>

Svelte

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

<Icon icon="lucide:boxes" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="lucide:boxes"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/lucide/boxes.svg" alt="Boxes icon" width="24" height="24">

Boxes icon in other icon sets

Boxes icon FAQ

Is the Boxes icon free for commercial use?

Yes. Lucide icons are released under the ISC license, which allows use in personal and commercial projects.

How do I use the Boxes icon in React?

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

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

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

Browse all Lucide icons →