Unicorn
The unicorn icon represents a mythical horse-like creature with a single horn on its forehead.
Exports at 24 × 24 px
Code
Unicorn in your framework
In any framework. Customize it above, and the code follows.
export const UnicornIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 72 72" fill="none" stroke="currentColor" {...props}>
<path fill="#fff" d="m23.754 12.362l1.667 7.167l-5.333 5.333l-8.334 14.333l1 4.667l2.167 1.333l4-.167l3.5-3.333l6.834-1.833s1.333 1.5 2.166 3s3.667 4.167 3.667 4.167l.5 6l-1.833 6.166l-2 2.833s22 9.5 33.166-7l-.5-6l-1.833-5l-3.333-5.166l-1-1.5l-.167-5.167l-2.833-5.333l-5-3l-2.667-4.5l-5.167-4.167l-6.5-1.5l-5.666 1l-4.167-2.167z"/><path fill="#ea5a47" d="m50.671 23.155l5.208 4.095s5.564 8.218-.325 17.82c-7.05 11.492 0 0 0 0c-1.619 3.475-2.315 6.742-1.739 9.722l-5.31-4.417V34.292zm-24.773-3.884l-15.113-7.25l5.166 6.119l5.224 5.855z"/><path fill="#92d3f5" d="m29.737 13.631l10.767.136s9.238 4.066 10.536 11.816l.687 8.957c-2.633 6.539-3.056 14.127 2.089 20.834c0 0-7.145 1.321-9.895-7.11L42.338 43.5l.325-6.034l1.417-5.643l-.283-4.893l-2.276-4.312l-3.532-2.841l-5.792-2.08z"/><path fill="#61b2e4" d="M58.455 36.75s5.52 6.407 6.998 15.12a8 8 0 0 1-.138 3.258c-.431 1.752-.817 4.998.146 7.383c.469 1.161-.562 2.365-1.789 2.111c-3.71-.768-9.243-3.647-10.256-8.087a2 2 0 0 1-.042-.321l-.266-5.746c-.013-.286.052-.57.187-.821l3.692-6.836q.1-.186.149-.392z"/><path fill="none" stroke="#000" strokeLinecap="round" strokeLinejoin="round" strokeMiterlimit="10" strokeWidth="2" d="M58.455 37.783C60.223 40.144 65 44.465 64.5 54.02m-32-12.135s8.478 6.783 0 18.765m-7.691-41.516L10.25 11.75l10.925 12.245"/><path fill="none" stroke="#000" strokeLinecap="round" strokeLinejoin="round" strokeMiterlimit="10" strokeWidth="2" d="M35.196 30.87c.55 8.355-9.322 9.703-11.954 10.334c-.332.08-.632.25-.873.492l-2.223 2.223c-.35.35-.824.546-1.318.546h-3.512a2.795 2.795 0 0 1-2.651-1.911l-.531-1.593a2.8 2.8 0 0 1 .255-2.322l8.786-14.644l4.724-4.724l-2.116-6.905s7.803-.699 8.414 5.33c0 0 16.928 2.442 10.553 19.384c0 0-1.625 5.949 2.375 11.184"/><path fill="none" stroke="#000" strokeLinecap="round" strokeLinejoin="round" strokeMiterlimit="10" strokeWidth="2" d="M30.917 14.02S53.16 10 50.875 33.98"/><path fill="none" stroke="#000" strokeLinecap="round" strokeLinejoin="round" strokeMiterlimit="10" strokeWidth="2" d="M49.919 23.155s14.766 6.587 5.456 22.22c0 0-5.375 6.563.625 13.604"/><circle cx="24.417" cy="28.93" r="2"/>
</svg>
);Other libraries
Unicorn in 4 more libraries
Each library draws it its own way. Open one to compare.
OpenMoji
More like it
Icons that share its tags, in the same style.
Search OpenMoji
Skip the copy and paste. With Pro, your AI agent finds and installs any OpenMoji icon from a prompt.
Get ProTags
Browse by tag
Unicorn is tagged icon, symbol, art and 4 more. Related tags follow; each opens its icons from every library.
Pricing
OpenMoji MCP, with Pro
Ask for Unicorn or any of 4,481 OpenMoji 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 Unicorn icon means and where it's used, then how to install, style, label and license it.
The unicorn icon represents a mythical horse-like creature with a single horn on its forehead. It is often associated with magic, fantasy, or mythology. The unicorn has a long history in folklore and popular culture.
In digital contexts, the unicorn icon may appear in fantasy games, mythology websites, or art designs. It can also be used in designs related to magic or fantasy.
From a UX perspective, the unicorn icon communicates a sense of wonder or enchantment. It can help users quickly identify content related to fantasy, mythology, or magic.
Unicorn is one of 4,481 icons in OpenMoji, made by OpenMoji and released under CC BY-SA 4.0. It is drawn on a 72 × 72 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 UnicornIcon to components/icons/openmoji-unicorn.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 UnicornIcon 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 Unicorn icon, or any of 4,481 OpenMoji 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 72 × 72 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="Unicorn", so screen readers say what it does.
Yes. UnicornIcon passes every SVG prop to the svg element, so <UnicornIcon 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 conditions: CC BY-SA 4.0 asks you to credit the author (OpenMoji), and icons you change must use the same license. The full terms are in the license, linked on this page.
Yes. CC BY-SA 4.0 asks you to credit OpenMoji, and icons you change must be shared under the same license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
4 other libraries draw an icon called Unicorn. 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 icon, symbol, art, fantasy, magic and mythology. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Unicorn in another set.
OpenMoji draws many icons in several styles: Light next to the default. Open the library and pick a style above the grid to see Unicorn's siblings in it.
4.9 out of 5 from 150+ developers
Install Unicorn from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro