Candy icon
A hand-drawn candy 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
candy
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 CandyIcon.tsx
import { SvgXml } from "react-native-svg";
const CandyIcon = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M8.6 9.2C10.5 8.3 12.8 8.3 14.7 9.2C16 9.8 16.8 10.9 16.8 12.2S16 14.6 14.7 15.2C12.8 16.1 10.5 16.1 8.6 15.2C7.3 14.6 6.5 13.5 6.5 12.2S7.3 9.8 8.6 9.2Z"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M8.7 9.7L5.9 7.9C5.1 7.4 4.1 7.6 3.6 8.4C3.1 9.1 3.3 10.1 4 10.6L6 12L4 13.4C3.3 13.9 3.1 14.9 3.6 15.6C4.1 16.4 5.1 16.6 5.9 16.1L8.7 14.3"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M15.3 9.7L18.1 7.9C18.9 7.4 19.9 7.6 20.4 8.4C20.9 9.1 20.7 10.1 20 10.6L18 12L20 13.4C20.7 13.9 20.9 14.9 20.4 15.6C19.9 16.4 18.9 16.6 18.1 16.1L15.3 14.3"></path></g></svg>`;
<SvgXml xml={CandyIcon} 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 candy.svg
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M8.6 9.2C10.5 8.3 12.8 8.3 14.7 9.2C16 9.8 16.8 10.9 16.8 12.2S16 14.6 14.7 15.2C12.8 16.1 10.5 16.1 8.6 15.2C7.3 14.6 6.5 13.5 6.5 12.2S7.3 9.8 8.6 9.2Z"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M8.7 9.7L5.9 7.9C5.1 7.4 4.1 7.6 3.6 8.4C3.1 9.1 3.3 10.1 4 10.6L6 12L4 13.4C3.3 13.9 3.1 14.9 3.6 15.6C4.1 16.4 5.1 16.6 5.9 16.1L8.7 14.3"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M15.3 9.7L18.1 7.9C18.9 7.4 19.9 7.6 20.4 8.4C20.9 9.1 20.7 10.1 20 10.6L18 12L20 13.4C20.7 13.9 20.9 14.9 20.4 15.6C19.9 16.4 18.9 16.6 18.1 16.1L15.3 14.3"></path></g></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/candy.svg" width="24" height="24" alt="Candy" />