Candy
The candy icon represents a sweet treat, often used to indicate a dessert or snack.
Exports at 24 × 24 px
Code
Candy in your framework
In any framework. Customize it above, and the code follows.
export const CandyIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 512 512" {...props}>
<path fill="#00B1FF" d="M509.56 332.873c-1.365 12.374-12.65 22.318-29.242 27.874a23.66 23.66 0 0 0-15.503 28.206c4.203 16.986 1.857 31.843-7.858 39.627c-17.254 13.826-51.216.108-75.856-30.641c-13.432-16.762-21.31-35.12-22.912-50.596c-40.568 45.428-108.107 59.659-164.809 30.536c-58.995-30.301-86.679-97.476-69.372-158.937c-13.927 6.959-33.668 10.157-55.042 7.8c-39.165-4.32-68.95-25.638-66.526-47.615c1.365-12.374 12.65-22.318 29.242-27.874a23.66 23.66 0 0 0 15.503-28.206c-4.203-16.986-1.857-31.843 7.858-39.627c17.254-13.826 51.216-.108 75.856 30.641c13.411 16.736 21.285 35.064 22.904 50.526c40.568-45.435 108.112-59.669 164.817-30.545c59.025 30.316 86.706 97.544 69.345 159.03c13.929-6.968 33.682-10.172 55.069-7.813c39.165 4.319 68.95 25.637 66.526 47.614"/><path fill="#76DFFF" d="M207.845 192.707c-7.473 0-14.779-3.719-19.057-10.508c-6.625-10.513-3.473-24.406 7.041-31.031c20.406-12.858 43.98-18.525 66.389-15.945c12.345 1.419 21.202 12.578 19.782 24.923s-12.583 21.2-24.923 19.782c-12.082-1.388-25.662 2.004-37.258 9.312a22.4 22.4 0 0 1-11.974 3.467"/><path fill="#0082BC" d="M124.009 218.939c-6.092 3.042-13.294 5.366-21.261 6.819a154.2 154.2 0 0 1 13.892-39.348c8.376-16.308 19.263-30.482 31.941-42.305c2.793 7.111 4.547 14.042 5.222 20.48a137.3 137.3 0 0 0-19.722 28.755a137.7 137.7 0 0 0-10.072 25.599m263.954 74.136a137.6 137.6 0 0 1-10.044 25.504a137.3 137.3 0 0 1-19.731 28.765c.67 6.457 2.427 13.414 5.231 20.55c12.677-11.823 23.565-25.997 31.941-42.305a154.2 154.2 0 0 0 13.892-39.348c-7.979 1.457-15.191 3.786-21.289 6.834"/>
</svg>
);Other libraries
Candy in 8 more libraries
Each library draws it its own way. Open one to compare.
Firefox OS Emoji
More like it
Icons that share its tags, in the same style.
Search Firefox OS Emoji
Skip the copy and paste. With Pro, your AI agent finds and installs any Firefox OS Emoji icon from a prompt.
Get ProTags
Browse by tag
Candy is tagged food, dessert, snack and 2 more. Related tags follow; each opens its icons from every library.
Pricing
Firefox OS Emoji MCP, with Pro
Ask for Candy or any of 1,034 Firefox OS Emoji 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 Candy icon means and where it's used, then how to install, style, label and license it.
The candy icon represents a sweet treat, often used to indicate a dessert or snack. Candies are commonly used in various settings, including parties, celebrations, and everyday life.
In software and digital platforms, the candy icon may be used to represent a fun or playful feature. For example, in gaming apps, the candy icon may be used to indicate a power-up or reward.
From a UX perspective, the candy icon communicates a sense of enjoyment and pleasure. It helps users understand that they can access features or content related to fun and playfulness.
Candy is one of 1,034 icons in Firefox OS Emoji, made by Mozilla and released under Apache 2.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 CandyIcon to components/icons/fxemoji-candy.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 CandyIcon 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 Candy icon, or any of 1,034 Firefox OS Emoji icons, and install it from a prompt.
It's multicolor, so it keeps its own colors.
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 keeps its own colors in light and dark mode, so check it against both backgrounds. 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="Candy", so screen readers say what it does.
Yes. CandyIcon passes every SVG prop to the svg element, so <CandyIcon 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. Apache 2.0 allows commercial use; keep the license notice when you ship the icons' source files. The full terms are in the license, linked on this page.
No visible credit is required: Apache 2.0 only asks that you keep the license notice if you ship the icons' source files. Icons installed with the shadcn CLI already start with a comment naming Firefox OS Emoji, Mozilla and the license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
8 other libraries draw an icon called Candy. 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, dessert, snack, sweet and treat. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Candy in another set.
4.9 out of 5 from 150+ developers
Install Candy from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro