gentleface

Gentleface › Food & drink › milk

milk icon

Milk: milk, milk carton. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Animated milk-pour · line-round

The bottle tips until the milk reaches its lip and a splash pours out. Set upright, the surface rocks and comes back to its wave.

Download SVG

Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.25 s to 2.75 s. Examples and helper.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M10 3.293L11.707 5C11.902 5.195 12 5.431 12 5.707L12 14C12 14.276 11.902 14.512 11.707 14.707C11.512 14.902 11.276 15 11 15L4 15C3.724 15 3.488 14.902 3.293 14.707C3.098 14.512 3 14.276 3 14L3 5.707C3 5.431 3.098 5.195 3.293 5L5 3.293L5 2L4.5 2C4.359 2 4.241 1.952 4.144 1.856C4.048 1.759 4 1.641 4 1.5C4 1.359 4.048 1.241 4.144 1.144C4.241 1.048 4.359 1 4.5 1L10.5 1C10.641 1 10.759 1.048 10.856 1.144C10.952 1.241 11 1.359 11 1.5C11 1.641 10.952 1.759 10.856 1.856C10.759 1.952 10.641 2 10.5 2L10 2L10 3.293ZM6 3.293C6 3.569 5.902 3.805 5.707 4L4 5.707L4 8.418C4.018 8.406 4.037 8.395 4.055 8.384C4.482 8.128 4.963 8 5.5 8C6.037 8 6.518 8.128 6.945 8.384C7.11 8.483 7.278 8.608 7.448 8.758C7.544 8.843 7.68 8.972 7.854 9.146C8.013 9.306 8.133 9.421 8.214 9.492C8.338 9.602 8.457 9.691 8.57 9.759C8.838 9.92 9.148 10 9.5 10C9.852 10 10.162 9.92 10.43 9.759C10.543 9.691 10.662 9.602 10.786 9.492C10.84 9.445 10.911 9.378 11 9.291L11 5.707L9.293 4C9.098 3.805 9 3.569 9 3.293L9 2L6 2L6 3.293ZM11 10.582C10.982 10.594 10.963 10.605 10.945 10.616C10.518 10.872 10.037 11 9.5 11C8.963 11 8.482 10.872 8.055 10.616C7.89 10.517 7.722 10.393 7.552 10.242C7.456 10.157 7.32 10.028 7.146 9.854C6.987 9.694 6.867 9.579 6.786 9.508C6.662 9.398 6.543 9.309 6.43 9.241C6.162 9.08 5.852 9 5.5 9C5.148 9 4.838 9.08 4.57 9.241C4.457 9.309 4.338 9.398 4.214 9.508C4.16 9.555 4.089 9.622 4 9.709L4 14L11 14L11 10.582Z"/></svg>
React
// Gentleface "milk" (line-round), MIT. https://gentleface.com/icons/milk
import type { SVGProps } from 'react';

export function MilkIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M10 3.293L11.707 5C11.902 5.195 12 5.431 12 5.707L12 14C12 14.276 11.902 14.512 11.707 14.707C11.512 14.902 11.276 15 11 15L4 15C3.724 15 3.488 14.902 3.293 14.707C3.098 14.512 3 14.276 3 14L3 5.707C3 5.431 3.098 5.195 3.293 5L5 3.293L5 2L4.5 2C4.359 2 4.241 1.952 4.144 1.856C4.048 1.759 4 1.641 4 1.5C4 1.359 4.048 1.241 4.144 1.144C4.241 1.048 4.359 1 4.5 1L10.5 1C10.641 1 10.759 1.048 10.856 1.144C10.952 1.241 11 1.359 11 1.5C11 1.641 10.952 1.759 10.856 1.856C10.759 1.952 10.641 2 10.5 2L10 2L10 3.293ZM6 3.293C6 3.569 5.902 3.805 5.707 4L4 5.707L4 8.418C4.018 8.406 4.037 8.395 4.055 8.384C4.482 8.128 4.963 8 5.5 8C6.037 8 6.518 8.128 6.945 8.384C7.11 8.483 7.278 8.608 7.448 8.758C7.544 8.843 7.68 8.972 7.854 9.146C8.013 9.306 8.133 9.421 8.214 9.492C8.338 9.602 8.457 9.691 8.57 9.759C8.838 9.92 9.148 10 9.5 10C9.852 10 10.162 9.92 10.43 9.759C10.543 9.691 10.662 9.602 10.786 9.492C10.84 9.445 10.911 9.378 11 9.291L11 5.707L9.293 4C9.098 3.805 9 3.569 9 3.293L9 2L6 2L6 3.293ZM11 10.582C10.982 10.594 10.963 10.605 10.945 10.616C10.518 10.872 10.037 11 9.5 11C8.963 11 8.482 10.872 8.055 10.616C7.89 10.517 7.722 10.393 7.552 10.242C7.456 10.157 7.32 10.028 7.146 9.854C6.987 9.694 6.867 9.579 6.786 9.508C6.662 9.398 6.543 9.309 6.43 9.241C6.162 9.08 5.852 9 5.5 9C5.148 9 4.838 9.08 4.57 9.241C4.457 9.309 4.338 9.398 4.214 9.508C4.16 9.555 4.089 9.622 4 9.709L4 14L11 14L11 10.582Z" />
    </svg>
  );
}
Vue
Vue: see /icons/milk.md
Svelte
Svelte: see /icons/milk.md
HTML img
HTML img: see /icons/milk.md
CSS
CSS: see /icons/milk.md
Data URL
Data URL: see /icons/milk.md
Sprite
Sprite: see /icons/milk.md
SwiftUI
SwiftUI: see /icons/milk.md
Compose
Compose: see /icons/milk.md
Android XML
Android XML: see /icons/milk.md
Flutter
Flutter: see /icons/milk.md

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

With npm: import { MilkIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
milk, milk carton
Alternatives
Also fits
  • bottle: a milk bottle or carton
  • dairy: milk as a drink
Tags
milk, bottle, dairy, lactose, drink, beverage, breakfast, groceries, food
Category
Food & drink
Component name
MilkIcon
History
  • added, released in 0.1.0
  • 20 px drawn, 24 px drawn
Since
version 0.1.0

Family 1

More food & drink icons

For agents

Metadata: /icons/milk.json · Markdown: /icons/milk.md · SVG: https://gentleface.com/svg/{style}/16/milk.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/milk.png