ICONYZ
English
Closet icon from BoxIcons v2

Closet icon

bx:closet

The Closet icon (bx:closet) is a free SVG icon from the BoxIcons v2 set by Boxicons. It is drawn on a 24 × 24 grid. BoxIcons v2 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
BoxIcons v2
Author
Boxicons
License
MIT
Size
24 × 24
Tags
bx closet
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="M13 10.551v-.678A4.005 4.005 0 0 0 16 6c0-2.206-1.794-4-4-4S8 3.794 8 6h2c0-1.103.897-2 2-2s2 .897 2 2s-.897 2-2 2a1 1 0 0 0-1 1v1.551l-8.665 7.702A1.001 1.001 0 0 0 3 20h18a1.001 1.001 0 0 0 .664-1.748zM5.63 18L12 12.338L18.37 18z"/></svg>

How to use the Closet icon

React

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

<Icon icon="bx:closet" width="24" />

Vue

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

<template>
  <Icon icon="bx:closet" width="24" />
</template>

Svelte

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

<Icon icon="bx:closet" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="bx:closet"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/bx/closet.svg" alt="Closet icon" width="24" height="24">

Closet icon in other icon sets

Closet icon FAQ

Is the Closet icon free for commercial use?

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

How do I use the Closet icon in React?

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

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

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

Browse all BoxIcons v2 icons →