Milk Carton icon
hugeicons:milk-carton
The Milk Carton icon (hugeicons:milk-carton) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge 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
- Huge Icons
- Author
- Hugeicons
- License
- MIT
- Size
- 24 × 24
- Tags
- milkcarton
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 d="M5.172 6.828L7 5l1.828 1.828c.578.578.868.868 1.02 1.235S10 8.84 10 9.657V22H8c-1.886 0-2.828 0-3.414-.586S4 19.886 4 18V9.657c0-.818 0-1.226.152-1.594c.152-.367.442-.657 1.02-1.235Z"/><path stroke-linecap="round" d="M7 5.004v-.4c0-1.224 0-1.836.38-2.216c.382-.38.994-.38 2.22-.38h5.554c.706 0 1.622-.113 2.095.53c.501.684.073 1.624.29 2.38c.066.23.23.407.38.587L20 8"/><path stroke-linejoin="round" d="M10 8h10v10c0 1.886 0 2.828-.586 3.414S17.886 22 16 22h-6"/><path stroke-linejoin="round" d="M10 13c.476.5 1.743.476 2.487.279a1.34 1.34 0 0 1 1.428.485l.688.902c.395.519.994.765 1.584.651l.87-.167c.478-.092.954.14 1.28.556C19.352 17 20 17 20 17"/></g></svg>How to use the Milk Carton icon
React
import { Icon } from "@iconify/react";
<Icon icon="hugeicons:milk-carton" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="hugeicons:milk-carton" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="hugeicons:milk-carton" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[hugeicons--milk-carton]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/hugeicons -->
<div class="i-hugeicons:milk-carton"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="hugeicons:milk-carton"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/hugeicons/milk-carton.svg" alt="Milk Carton icon" width="24" height="24">Related icons in Huge Icons
Milk Carton icon in other icon sets
Milk Carton icon FAQ
Is the Milk Carton icon free for commercial use?
Yes. Huge Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Milk Carton icon in React?
Install @iconify/react and render <Icon icon="hugeicons:milk-carton" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Milk Carton icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/hugeicons/milk-carton.svg" alt="Milk Carton icon">, or paste the SVG code inline to style it with CSS.