Cake Slice icon
A hand-drawn cake slice 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-slice
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 CakeSliceIcon.tsx
import { SvgXml } from "react-native-svg";
const CakeSliceIcon = `<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="M16.85 7.6C17.75 7.2 18.55 7.8 18.55 8.7L18.55 17.6C18.55 19 17.45 20.1 16.05 20.1L7.35 20.1C5.95 20.1 4.85 19 4.85 17.6L4.85 15.95Q4.85 14.3 10.85 10.95L16.85 7.6Z"></path><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="6.35" y1="16.9" x2="18.55" y2="16.9"></line><g><circle stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" cx="16.65" cy="7" r="1.7"></circle><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M17.15 5.7C17.55 4.8 18.25 4.2 19.15 3.9"></path></g></svg>`;
<SvgXml xml={CakeSliceIcon} 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-slice.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="M16.85 7.6C17.75 7.2 18.55 7.8 18.55 8.7L18.55 17.6C18.55 19 17.45 20.1 16.05 20.1L7.35 20.1C5.95 20.1 4.85 19 4.85 17.6L4.85 15.95Q4.85 14.3 10.85 10.95L16.85 7.6Z"></path><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="6.35" y1="16.9" x2="18.55" y2="16.9"></line><g><circle stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" cx="16.65" cy="7" r="1.7"></circle><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M17.15 5.7C17.55 4.8 18.25 4.2 19.15 3.9"></path></g></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/cake-slice.svg" width="24" height="24" alt="Cake Slice" />