Container icon
keyline-icons:container
The Container icon (keyline-icons:container) is a free SVG icon from the Keyline Icons set. It is drawn on a 24 × 24 grid. Keyline 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
- Keyline Icons
- Author
- Keyline Icons
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2 11C2 9.8954 2.8954 9 4 9L16 9C17.1046 9 18 9.8954 18 11L18 17C18 18.1046 17.1046 19 16 19L4 19C2.8954 19 2 18.1046 2 17L2 11ZM2.5858 9.5858L6.5858 5.5858C6.9609 5.2107 7.4696 5 8 5L20 5C21.1046 5 22 5.8954 22 7L22 13C22 13.5304 21.7893 14.0391 21.4142 14.4142L17.4142 18.4142M17.4142 9.5858L21.4142 5.5858M6 9L6 19M10 9L10 19M14 9L14 19"/></svg>How to use the Container icon
React
import { Icon } from "@iconify/react";
<Icon icon="keyline-icons:container" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="keyline-icons:container" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="keyline-icons:container" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[keyline-icons--container]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/keyline-icons -->
<div class="i-keyline-icons:container"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="keyline-icons:container"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/keyline-icons/container.svg" alt="Container icon" width="24" height="24">Related icons in Keyline Icons
Container icon in other icon sets
Container icon FAQ
Is the Container icon free for commercial use?
Yes. Keyline Icons 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="keyline-icons: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/keyline-icons/container.svg" alt="Container icon">, or paste the SVG code inline to style it with CSS.