Cup icon
A hand-drawn cup icon that animates on its own: an SVG on a 24px grid in thin, regular and bold strokes. Free to download and use in the apps you build (LumioUI License). It takes your text colour through currentColor.
- Category
- Food
- Grid
- 24 × 24
- Strokes
- 1.5 · 2 · 2.5
- Name
cup
Stroke weights and sizes
Use it in React Native
Paste the SVG into react-native-svg's SvgXml. The Icon component covers a curated set by name, and Animated Icons plays the motion natively.
TSX CupIcon.tsx
import { SvgXml } from "react-native-svg";
const CupIcon = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><g transform="translate(0 -3.25)"><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M6 9.5L16.5 9.5L16.5 14.1C16.5 16.7 14.4 18.8 11.8 18.8L10.7 18.8C8.1 18.8 6 16.7 6 14.1L6 9.5Z"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M16.5 10.8L17.3 10.8C18.8 10.8 20 12 20 13.5S18.8 16.2 17.3 16.2L16.5 16.2"></path><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="4" y1="21" x2="14.5" y2="21"></line><g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M9.5 9.5C10 10.5 10 11.5 9.5 12.5"></path><rect stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x="8.4" y="12.6" width="2.2" height="2.6" rx="0.7"></rect></g></g></svg>`;
<SvgXml xml={CupIcon} width={24} height={24} color="#111" /> SVG code
The still glyph. The animated version, linked above, plays its motion on its own with SMIL, so it needs no script.
SVG cup.svg
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><g transform="translate(0 -3.25)"><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M6 9.5L16.5 9.5L16.5 14.1C16.5 16.7 14.4 18.8 11.8 18.8L10.7 18.8C8.1 18.8 6 16.7 6 14.1L6 9.5Z"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M16.5 10.8L17.3 10.8C18.8 10.8 20 12 20 13.5S18.8 16.2 17.3 16.2L16.5 16.2"></path><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="4" y1="21" x2="14.5" y2="21"></line><g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M9.5 9.5C10 10.5 10 11.5 9.5 12.5"></path><rect stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x="8.4" y="12.6" width="2.2" height="2.6" rx="0.7"></rect></g></g></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/cup.svg" width="24" height="24" alt="Cup" />