gentleface

Gentleface › Food & drink › cup-soda

cup-soda icon

Cup soda: soft drink, soda, fizzy drink, cola. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Animated cup-soda-sip · line-round

Three sips run up the straw and over its bend, each one raising a stream of bubbles in the cup. On the last, hard one the paper cup pinches in and pops back.

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.2 s to 2.5 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="M11.856 1.144C11.952 1.241 12 1.359 12 1.5C12 1.641 11.952 1.759 11.856 1.856C11.759 1.952 11.641 2 11.5 2L10 2L10 4L13.5 4C13.641 4 13.759 4.048 13.856 4.144C13.952 4.241 14 4.359 14 4.5C14 4.641 13.952 4.759 13.856 4.856C13.759 4.952 13.641 5 13.5 5L12.952 5L12.043 14.1C12.017 14.355 11.909 14.569 11.719 14.741C11.528 14.914 11.304 15 11.048 15L4.952 15C4.696 15 4.472 14.914 4.281 14.741C4.091 14.569 3.983 14.355 3.957 14.1L3.048 5L2.5 5C2.359 5 2.241 4.952 2.144 4.856C2.048 4.759 2 4.641 2 4.5C2 4.359 2.048 4.241 2.144 4.144C2.241 4.048 2.359 4 2.5 4L9 4L9 1.5C9 1.359 9.048 1.241 9.144 1.144C9.241 1.048 9.359 1 9.5 1L11.5 1C11.641 1 11.759 1.048 11.856 1.144ZM11.048 14L11.948 5L4.052 5L4.952 14L11.048 14Z"/></svg>
React
// Gentleface "cup-soda" (line-round), MIT. https://gentleface.com/icons/cup-soda
import type { SVGProps } from 'react';

export function CupSodaIcon(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="M11.856 1.144C11.952 1.241 12 1.359 12 1.5C12 1.641 11.952 1.759 11.856 1.856C11.759 1.952 11.641 2 11.5 2L10 2L10 4L13.5 4C13.641 4 13.759 4.048 13.856 4.144C13.952 4.241 14 4.359 14 4.5C14 4.641 13.952 4.759 13.856 4.856C13.759 4.952 13.641 5 13.5 5L12.952 5L12.043 14.1C12.017 14.355 11.909 14.569 11.719 14.741C11.528 14.914 11.304 15 11.048 15L4.952 15C4.696 15 4.472 14.914 4.281 14.741C4.091 14.569 3.983 14.355 3.957 14.1L3.048 5L2.5 5C2.359 5 2.241 4.952 2.144 4.856C2.048 4.759 2 4.641 2 4.5C2 4.359 2.048 4.241 2.144 4.144C2.241 4.048 2.359 4 2.5 4L9 4L9 1.5C9 1.359 9.048 1.241 9.144 1.144C9.241 1.048 9.359 1 9.5 1L11.5 1C11.641 1 11.759 1.048 11.856 1.144ZM11.048 14L11.948 5L4.052 5L4.952 14L11.048 14Z" />
    </svg>
  );
}
Vue
Vue: see /icons/cup-soda.md
Svelte
Svelte: see /icons/cup-soda.md
HTML img
HTML img: see /icons/cup-soda.md
CSS
CSS: see /icons/cup-soda.md
Data URL
Data URL: see /icons/cup-soda.md
Sprite
Sprite: see /icons/cup-soda.md
SwiftUI
SwiftUI: see /icons/cup-soda.md
Compose
Compose: see /icons/cup-soda.md
Android XML
Android XML: see /icons/cup-soda.md
Flutter
Flutter: see /icons/cup-soda.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 { CupSodaIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
soft drink, soda, fizzy drink, cola, soft drinks
Alternatives
  • bottle: bottled water or drinks
Also fits
  • beverages: soft drinks
  • cup: a soda cup or soft drink
Tags
soft-drink, soda
Category
Food & drink
Component name
CupSodaIcon
History
  • added, released in 0.3.0
  • 20 px drawn, 24 px drawn
Since
version 0.3.0

More food & drink icons

For agents

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