Milk Carton 20 icon
energy-icons:milk-carton-20
The Milk Carton 20 icon (energy-icons:milk-carton-20) is a free SVG icon from the Energy Icons set by Sam Passmore. It is drawn on a 20 × 20 grid. Energy 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
- Energy Icons
- Author
- Sam Passmore
- License
- MIT
- Size
- 20 × 20
- Tags
- milkcarton
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" d="M14.167 6.168a.5.5 0 0 1 .5.5v11.666a.5.5 0 0 1-.5.5H5.833a.5.5 0 0 1-.5-.5V6.668a.5.5 0 0 1 .5-.5zM6.333 17.834h7.334V7.168H6.333z"/><path fill="currentColor" d="M12.5 2.832a.5.5 0 0 1 .447.276l1.667 3.334l-.894.448l-1.53-3.058H7.81L6.28 6.89l-.894-.448l1.667-3.334l.036-.06a.5.5 0 0 1 .411-.216z"/><path fill="currentColor" d="M12.5 1.168a.5.5 0 0 1 .5.5v1.666h-1V2.168H8v1.166H7V1.668a.5.5 0 0 1 .5-.5zM5.501 12.127c1.44-1.276 3.392-1.276 4.831 0c1.06.94 2.442.94 3.503 0l.664.748c-1.44 1.276-3.392 1.276-4.831 0c-1.06-.94-2.442-.94-3.503 0z"/></svg>How to use the Milk Carton 20 icon
React
import { Icon } from "@iconify/react";
<Icon icon="energy-icons:milk-carton-20" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="energy-icons:milk-carton-20" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="energy-icons:milk-carton-20" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[energy-icons--milk-carton-20]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/energy-icons -->
<div class="i-energy-icons:milk-carton-20"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="energy-icons:milk-carton-20"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/energy-icons/milk-carton-20.svg" alt="Milk Carton 20 icon" width="24" height="24">Related icons in Energy Icons
Milk Carton 20 icon FAQ
Is the Milk Carton 20 icon free for commercial use?
Yes. Energy Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Milk Carton 20 icon in React?
Install @iconify/react and render <Icon icon="energy-icons:milk-carton-20" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Milk Carton 20 icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/energy-icons/milk-carton-20.svg" alt="Milk Carton 20 icon">, or paste the SVG code inline to style it with CSS.