Confetti
The confetti icon represents confetti, often used to indicate celebration, party, or festive events.
Exports at 24 × 24 px
Code
Confetti in your framework
In any framework. Customize it above, and the code follows.
export const ConfettiIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" {...props}>
<path fill="currentColor" d="M23 7a8.44 8.44 0 0 0-5 1.31c-.36-.41-.73-.82-1.12-1.21l-.29-.27l.14-.12a3.15 3.15 0 0 0 .9-3.49A3.9 3.9 0 0 0 14 1v2a2 2 0 0 1 1.76 1c.17.4 0 .84-.47 1.31l-.23.21a16.7 16.7 0 0 0-3.41-2.2c-2.53-1.14-3.83-.61-4.47 0a2.2 2.2 0 0 0-.46.68l-.18.53L5.1 8.87C6.24 11.71 9 16.76 15 18.94l5-1.66a1 1 0 0 0 .43-.31l.21-.18c1.43-1.44.51-4.21-1.41-6.9A6.63 6.63 0 0 1 23 9z" class="duoicon-secondary-layer" opacity=".3"/><path fill="currentColor" d="m4.4 11l-2.23 6.7c-.693 2.118.882 4.295 3.11 4.3a3.2 3.2 0 0 0 1-.17l6.52-2.17A18.7 18.7 0 0 1 4.4 11m14.81 4.37h-.06c-.69.37-3.55-.57-6.79-3.81c-.34-.34-.66-.67-.95-1c-.1-.11-.19-.23-.29-.35l-.53-.64l-.28-.39c-.14-.19-.28-.38-.4-.56s-.16-.26-.24-.39s-.22-.34-.31-.51s-.13-.24-.19-.37s-.17-.28-.23-.42s-.09-.23-.14-.34s-.11-.27-.15-.4S8.6 6 8.58 5.9s-.06-.24-.08-.34a2 2 0 0 1 0-.24a1.2 1.2 0 0 1 0-.26l.11-.31c.17-.18.91-.23 2.23.37c.882.424 1.717.94 2.49 1.54c-.422.186-.87.3-1.33.34v2a6.4 6.4 0 0 0 3-.94l.49.46c.44.43.83.86 1.19 1.27A5.3 5.3 0 0 0 16 13.2l2-.39a3.2 3.2 0 0 1 0-1.14c1.29 1.97 1.53 3.39 1.21 3.7" class="duoicon-primary-layer"/>
</svg>
);Other libraries
Confetti in 3 more libraries
Each library draws it its own way. Open one to compare.
Duoicons
More like it
Icons that share its tags, then the ones next to it in Duoicons, in the same style.
Skip the copy and paste. With Pro, your AI agent finds and installs any Duoicons icon from a prompt.
Get ProTags
Browse by tag
Confetti is tagged entertainment, fun, event and 3 more. Related tags follow; each opens its icons from every library.
Pricing
Duoicons MCP, with Pro
Ask for Confetti or any of 91 Duoicons 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 Confetti icon means and where it's used, then how to install, style, label and license it.
The confetti icon represents confetti, often used to indicate celebration, party, or festive events. It originates from the concept of festive decorations and is widely used in event planning and celebration applications. The confetti icon's significance lies in its ability to convey joy and celebration.
In software and digital platforms, the confetti icon appears in various event planning and celebration apps, such as party planning apps, social media platforms, and gaming applications.
From a UX perspective, the confetti icon communicates celebration and joy, helping users express and share their excitement and happiness.
Confetti is one of 91 icons in Duoicons, made by fernandcf and released under MIT. It is drawn on a 24 × 24 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 ConfettiIcon to components/icons/duo-icons-confetti.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 ConfettiIcon 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 Confetti icon, or any of 91 Duoicons 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 24 × 24 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="Confetti", so screen readers say what it does.
Yes. ConfettiIcon passes every SVG prop to the svg element, so <ConfettiIcon 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. MIT 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: MIT 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 Duoicons, fernandcf and the license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
3 other libraries draw an icon called Confetti. 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 entertainment, fun, event, celebration, party and festival. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Confetti in another set.
4.9 out of 5 from 150+ developers
Install Confetti from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro