Cake Slice
The cake-slice icon represents a slice of cake, often associated with celebrations or special occasions.
Exports at 24 × 24 px
Code
Cake Slice in your framework
In any framework. Customize it above, and the code follows.
export const CakeSliceIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 512 512" {...props}>
<path fill="currentColor" d="M224.375 19.5c-.627.005-1.25.035-1.875.063c-22.916 1.004-39.905 16.736-45.063 35.093c-4.796 17.07-.468 35.99 21.688 49.907c-24.784 5.082-44.582 24.197-50.625 48.624L28.22 266.125l344.75-48.688c-4.686-11.665-7.433-24.554-7.72-37.875c-12.373 3.495-25.437 1.82-35.688-4.843c-12.483-8.115-19.316-24.395-15.156-42.97c-11-3.865-20.314-11.138-28.937-20.156c-2.67 1.933-5.597 3.722-8.876 5.47c-4.904 2.61-10.448 4.996-16.406 7.03a66.3 66.3 0 0 0-19.032-14.125a95 95 0 0 0 6-1.407c7.72-2.07 14.993-4.985 20.656-8c5.664-3.016 9.72-6.49 10.657-7.75l7.03-9.438l7.625 9c11.86 14.042 21.687 21.77 34.406 23.53l12.22 1.69l-4.938 11.31c-7.348 16.822-2.72 25.15 4.938 30.126c7.657 4.978 20.167 5.28 29.938-2.03l17.718-13.28l-2.844 21.968c-4.23 32.48 11.383 64.938 31.844 77.875c10.23 6.468 21.06 8.458 32.78 4.53c11.724-3.927 24.924-14.41 37.533-35.405c21.685-36.113-15.126-77.975-47.376-66.625l-12.75 4.5l.312-13.532c.912-37.316-34.334-67.822-74.344-59.03l-8.437 1.844l-2.53-8.25c-3.99-13.03-12.2-21.695-21.19-25.25c-8.988-3.556-18.85-2.703-29.155 5.625l-7.97 6.436l-5.686-8.53c-13.34-20.005-33.78-30.535-53.218-30.375zM212.28 121.906c1.566 0 3.102.072 4.626.22c-8.18 3.796-13.844 12.073-13.844 21.686c0 13.204 10.703 23.907 23.907 23.907c13.203 0 23.905-10.704 23.905-23.907c0-.646-.044-1.274-.094-1.907c5.35 7.632 8.5 16.92 8.5 27c0 6.146-1.19 12.007-3.31 17.375c-26.588 19.077-53.165 20.028-79.75 12.845c-6.835-8.157-10.94-18.68-10.94-30.22c0-26.063 20.937-47 47-47zm169.845 113.156L19.97 286.156v16.594l374.436-52.844c-4.555-4.38-8.67-9.372-12.28-14.844zm97.156 16.375c-6.23 5.497-12.678 9.638-19.28 12.5l-.75 169.125l11.625-1.187l8.406-.844V251.44zm-60.56 13.907L19.97 321.656v52.75l30.843-17.156l4.593-2.563l4.563 2.625c16.475 9.383 28.455 10.95 40.155 7.813c11.7-3.138 23.93-11.893 37.875-25.875l3.875-3.875l5.28 1.5c24.013 6.806 38.055 9.512 49.064 7.625c11.008-1.887 21.244-8.403 38.218-23.78l6.28-5.69l6.25 5.69c7.754 7.03 11.293 7.7 12.47 7.655c1.176-.045 3.25-1.242 7.937-4.344c4.688-3.1 11.853-7.25 21.53-7.655c8.286-.346 18.054 2.04 29.97 7.688c8.374-7.562 15.014-12.59 23.75-13.594c8.592-.99 15.815 2.258 24.906 7.092c6.724-5.367 13.502-8.383 20.033-9.156c8.26-.978 15.21 1.12 21 2.75s10.514 2.88 15.312 2.563c4.656-.31 9.9-1.895 17.25-7.5l.156-37.658c-7.78.51-15.41-.668-22.56-3.218zm-27.533 61.53c-.486.013-.968.04-1.437.095c-3.75.443-7.92 2.043-14.313 8.467l-4.906 4.938l-6.155-3.313c-11.897-6.416-17.156-8.315-19.625-8.03c-2.47.283-7.388 3.3-17.906 13.03l-4.906 4.532l-5.875-3.156c-13.036-7.02-21.216-8.59-26.375-8.375c-5.16.215-8 1.883-12 4.53c-4.002 2.648-9.25 7.153-17.532 7.47c-6.335.24-12.545-2.27-19.312-7.25c-14.828 12.75-27.21 20.65-41.47 23.093c-14.998 2.57-30.607-.71-52.186-6.687c-13.58 13.024-26.973 22.878-42.22 26.967c-15.368 4.123-31.947 1.747-49.5-7.156l-35.5 19.75v17.69c31.86-14.53 63.46-14.035 95.844-5.5c10.952-15 24.617-25.098 41.813-27.783c17.11-2.67 36.716 1.77 60.53 11.688c4.384-9.426 9.76-15.932 16.532-19.656c8.8-4.84 18.007-4.127 25.844-3.033c15.676 2.19 27.35 6.595 43.19-6.437l4.25-3.5l5.124 2.03c23.357 9.21 50.61 11.247 73.625-7.5l5.81-4.717l5.876 4.625c15.268 11.986 29.62 11.267 42.5 1.906l.125-27.5c-5.555 2.605-10.908 3.948-15.936 4.28c-8.64.573-15.835-1.597-21.594-3.218c-5.04-1.418-8.91-2.363-12.313-2.28zm1.72 45.626c-26.39 18.067-56.995 16.428-81.844 7.813c-20.187 13.676-40.456 9.14-53.094 7.375c-6.793-.95-11.016-.873-14.25.906c-3.237 1.78-7.39 6.21-11.532 18.47l-3.313 9.81l-9.438-4.28c-26.59-12.11-45.507-16.066-58.937-13.97c-13.43 2.098-22.934 9.533-32.813 25.032l-3.78 5.938l-6.75-2c-35.05-10.37-64.65-11.103-97.188 6.75v43.375l10.28-1.033l410.313-41.718l.25-58.44c-15.042 6.07-32.325 5.435-47.907-4.03z"/>
</svg>
);Other libraries
Cake Slice in 4 more libraries
Each library draws it its own way. Open one to compare.
Game Icons
More like it
Icons that share its tags, in the same style.
Search Game Icons
Skip the copy and paste. With Pro, your AI agent finds and installs any Game Icons icon from a prompt.
Get ProTags
Browse by tag
Cake Slice is tagged food, celebration, party and 3 more. Related tags follow; each opens its icons from every library.
Pricing
Game Icons MCP, with Pro
Ask for Cake Slice or any of 4,123 Game Icons icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
What the Cake Slice icon means and where it's used, then how to install, style, label and license it.
The cake-slice icon represents a slice of cake, often associated with celebrations or special occasions. Cakes are a popular dessert item, and slices are commonly served at parties or gatherings.
In software and design, cake-slice icons may be used to represent a sense of celebration or indulgence. They can be found in applications related to food, baking, or hospitality.
From a UX perspective, the cake-slice icon can communicate a sense of joy or festivity, and can be used to help users navigate interfaces related to food or special events.
Cake Slice is one of 4,123 icons in Game Icons, made by GameIcons and released under CC BY 3.0. It is drawn on a 512 × 512 grid.
Sign in (it's free), then open Get icon, Install with shadcn CLI, and pick your package manager to copy the command. It adds CakeSliceIcon to components/icons/game-icons-cake-slice.tsx: one file, a size prop (24 by default) and every SVG prop, with no icon package.
Copy it as React (from Get icon, or the Code section): a typed CakeSliceIcon component you paste into your project, with no package to install. Only the icons you import reach your bundle. It works in Next.js and any React app.
Open Get icon, then Copy as code, and pick Vue, Svelte, Angular, Solid or Preact; the Code section shows each one too. Every version is one self-contained component with the SVG inside, and SVG and data URL copies are there for plain HTML and CSS.
With Pro, the shadcn.io MCP server lets Claude Code, Cursor or any MCP client find the Cake Slice icon, or any of 4,123 Game Icons icons, and install it from a prompt.
It's drawn in currentColor, so it takes the text color wherever you use it: a class like text-primary recolors it. To bake a color in, set one in Customize before you copy.
Set width and height on the component, or a class like size-6. It's drawn on a 512 × 512 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It follows the text color, so with text-foreground (or any theme token) it changes with your light and dark themes. The icon is a vector, so it needs no separate dark asset.
Next to a visible label it's decoration: add aria-hidden="true" so screen readers skip it. Standing alone, as in an icon button, give the button a name instead, like aria-label="Cake Slice", so screen readers say what it does.
Yes. CakeSliceIcon passes every SVG prop to the svg element, so <CakeSliceIcon aria-hidden="true" /> works, and so do role="img" with aria-label, or a title child, when it carries meaning on its own.
Yes. Open Get icon, then Download file: SVG for code or design tools like Figma; PNG, WebP or JPEG at 512px; or an ICO favicon with 16, 32 and 48px inside. Each one uses what you set in Customize.
Yes, with credit: CC BY 3.0 asks you to credit the author (GameIcons) where you use the icons. The full terms are in the license, linked on this page.
Yes. CC BY 3.0 asks you to credit the author where you use the icons, for example "Icons by GameIcons, CC BY 3.0" on an about or credits page.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
4 other libraries draw an icon called Cake Slice. The Other libraries section on this page shows each one, so you can compare them and open the one that fits your style.
Its tags are food, celebration, party, dessert, baking and pastry. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Cake Slice in another set.
4.9 out of 5 from 150+ developers
Install Cake Slice from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro