Cake icon
A hand-drawn cake 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
cake
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 CakeIcon.tsx
import { SvgXml } from "react-native-svg";
const CakeIcon = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M4.5 13L19.5 13C20.3 13 21 13.7 21 14.5L21 18C21 19.4 19.9 20.5 18.5 20.5L5.5 20.5C4.1 20.5 3 19.4 3 18L3 14.5C3 13.7 3.7 13 4.5 13Z"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M3.5 13.2C4.2 14.1 5.1 14.6 6 14.6C7.2 14.6 8 13.6 8 13.6S8.8 14.6 10 14.6S12 13.6 12 13.6S12.8 14.6 14 14.6S16 13.6 16 13.6S16.8 14.6 18 14.6C18.9 14.6 19.8 14.1 20.5 13.2"></path><g><circle stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" cx="12" cy="8.2" r="1.9"></circle><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M12.4 6.4C12.7 5.4 13.3 4.7 14.2 4.3"></path></g><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="3.5" y1="20.5" x2="20.5" y2="20.5"></line></svg>`;
<SvgXml xml={CakeIcon} 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 cake.svg
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M4.5 13L19.5 13C20.3 13 21 13.7 21 14.5L21 18C21 19.4 19.9 20.5 18.5 20.5L5.5 20.5C4.1 20.5 3 19.4 3 18L3 14.5C3 13.7 3.7 13 4.5 13Z"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M3.5 13.2C4.2 14.1 5.1 14.6 6 14.6C7.2 14.6 8 13.6 8 13.6S8.8 14.6 10 14.6S12 13.6 12 13.6S12.8 14.6 14 14.6S16 13.6 16 13.6S16.8 14.6 18 14.6C18.9 14.6 19.8 14.1 20.5 13.2"></path><g><circle stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" cx="12" cy="8.2" r="1.9"></circle><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M12.4 6.4C12.7 5.4 13.3 4.7 14.2 4.3"></path></g><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="3.5" y1="20.5" x2="20.5" y2="20.5"></line></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/cake.svg" width="24" height="24" alt="Cake" />