ICONYZ
English
Container icon from Boxicons

Container icon

boxicons:container

The Container icon (boxicons:container) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons 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
Boxicons
Author
Boxicons
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="m21.45 6.11l-6-3c-.26-.13-.56-.14-.83-.03l-12 5C2.25 8.24 2 8.6 2 9v8c0 .38.21.73.55.89l6 3c.14.07.29.11.45.11c.13 0 .26-.03.38-.08l12-5c.37-.16.62-.52.62-.92V7c0-.38-.21-.73-.55-.89M14.96 5.1l3.64 1.82l-9.56 3.98L5.4 9.08zM10 12.67l2-.83v5.83l-2 .83zM14 11l2-.83V16l-2 .83zm-10-.38l4 2v5.76l-4-2zm14 4.55V9.34l2-.83v5.83z"/></svg>

How to use the Container icon

React

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

<Icon icon="boxicons:container" width="24" />

Vue

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

<template>
  <Icon icon="boxicons:container" width="24" />
</template>

Svelte

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

<Icon icon="boxicons:container" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="boxicons:container"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/boxicons/container.svg" alt="Container icon" width="24" height="24">

Related icons in Boxicons

Container icon in other icon sets

Container icon FAQ

Is the Container icon free for commercial use?

Yes. Boxicons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Container icon in React?

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

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

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

Browse all Boxicons →