Closet Line Duotone icon
solar:closet-line-duotone
The Closet Line Duotone icon (solar:closet-line-duotone) is a free SVG icon from the Solar set by 480 Design. It is drawn on a 24 × 24 grid. Solar icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Solar
- Author
- 480 Design
- License
- CC-BY-4.0
- Size
- 24 × 24
- Category
- Home
- Tags
- closetline, lineduotone, closetlineduotone
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-width="1.5"><path stroke-linecap="round" d="M19 22V21.5M5 22V21.5" opacity=".5"/><path stroke-linecap="round" d="M12 21V2"/><path stroke-linecap="round" d="M15 8V10" opacity=".5"/><path d="M2 10C2 6.22876 2 4.34315 3.17157 3.17157C4.34315 2 6.22876 2 10 2H14C17.7712 2 19.6569 2 20.8284 3.17157C22 4.34315 22 6.22876 22 10V13C22 16.7712 22 18.6569 20.8284 19.8284C19.6569 21 17.7712 21 14 21H10C6.22876 21 4.34315 21 3.17157 19.8284C2 18.6569 2 16.7712 2 13V10Z"/><path stroke-linecap="round" d="M2 8H12" opacity=".5"/><path stroke-linecap="round" d="M2 15H22"/><path stroke-linecap="round" d="M15 18L17 18" opacity=".5"/><path stroke-linecap="round" d="M7 18L9 18" opacity=".5"/></g></svg>How to use the Closet Line Duotone icon
React
import { Icon } from "@iconify/react";
<Icon icon="solar:closet-line-duotone" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="solar:closet-line-duotone" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="solar:closet-line-duotone" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[solar--closet-line-duotone]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/solar -->
<div class="i-solar:closet-line-duotone"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="solar:closet-line-duotone"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/solar/closet-line-duotone.svg" alt="Closet Line Duotone icon" width="24" height="24">Related icons in Solar
Closet Line Duotone icon FAQ
Is the Closet Line Duotone icon free for commercial use?
Yes. Solar icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Closet Line Duotone icon in React?
Install @iconify/react and render <Icon icon="solar:closet-line-duotone" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Closet Line Duotone icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/solar/closet-line-duotone.svg" alt="Closet Line Duotone icon">, or paste the SVG code inline to style it with CSS.