Unicorn
The unicorn icon represents a mythical horse-like creature, often symbolizing magic, fantasy, or wonder.
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 512 512" {...props}>
<path fill="currentColor" d="M494 20L304.887 143.357c16.494 14.608 32.743 22.57 44.963 36.97zM298.346 93.594c-12.58.436-26.59 4.984-38.047 11.77c-7.64 4.523-14.115 9.97-18.304 15.142c-4.19 5.173-5.79 9.832-5.648 12.668l.283 5.73l-5.075 2.676C133.713 193.16 80.945 250.727 18 310.594V494h166.047c6.145-15.424 12.724-33.898 15.086-47.535c1.728-9.977-2.783-21.807-8.23-35.244c-5.444-13.436-11.85-28.706-7.63-45.423c3.49-13.827 14.375-25.752 24.096-35.656c4.45-4.534 8.71-8.463 12.075-11.445c-6.558-8.577-14.065-20.315-16.51-34.894l17.75-2.978c2.68 15.976 15.203 28.533 22.8 39.24l-.323.23c10.54 14.634 18.892 28.395 30.72 37.546c13.358 10.337 31.484 16.39 66.526 11.49l6.658-.932l2.782 6.124c6.96 15.322 14.372 23.89 21.015 28.423c6.643 4.535 12.63 5.46 18.692 4.79c12.125-1.34 24.29-10.974 27.76-14.264c4.13-3.92 9.657-9.476 13.32-16.124c3.347-6.076 5.073-12.687 3.48-20.744c-42.68-37.562-69.592-108.75-90.256-152.6c-9.245-19.62-35.786-34.492-52.967-47.95c-2.427-1.4-2.675-2.582-3.24-5.154c-4.215-19.167 3.188-40.257 10.974-57.298c-.096.002-.186-.01-.28-.006zM59.352 136.55c17.863 4.925 37.775 9.665 57.406 14.815c14.803 3.883 29.26 7.935 42.406 12.766c17.914-12.178 37.407-24.123 59.072-35.77c-51.62-13.3-109.928-3.148-158.884 8.19zm28.738 26.126c-23.002 4.133-45.974 10.254-67.147 16.662c18.133 3.813 38.298 7.314 58.207 11.242c11.774 2.323 23.337 4.766 34.256 7.643a687 687 0 0 1 27.403-21.15c-9.044-2.932-18.71-5.698-28.62-8.298c-7.952-2.086-16.043-4.098-24.1-6.1zM47.44 202.94c-9.875 2.096-19.728 4.582-29.44 7.29v18.04a2251 2251 0 0 1 20.172 3.146c10.505 1.7 20.847 3.498 30.734 5.625c8.836-8.185 17.887-16.322 27.268-24.397c-6.64-1.56-13.52-3.024-20.508-4.403c-9.32-1.838-18.81-3.566-28.227-5.3zM304 224c8.837 0 16 7.163 16 16s-7.163 16-16 16s-16-7.163-16-16s7.163-16 16-16M18 246.512v26.58c4.16.195 8.28.425 12.342.71c7.44-7.2 14.878-14.384 22.387-21.538a605 605 0 0 0-17.433-3.078A1502 1502 0 0 0 18 246.512"/>
</svg>
);Other libraries
Unicorn in 3 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
Unicorn is tagged entertainment, fantasy, magic and 2 more. Related tags follow; each opens its icons from every library.
Pricing
Game Icons MCP, with Pro
Ask for Unicorn 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 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, often symbolizing magic, fantasy, or wonder.
In real-world applications, this icon might be used in contexts related to fantasy, fiction, or entertainment, such as in games, movies, or books that feature magical elements.
From a UX perspective, the unicorn icon communicates a sense of enchantment or fantasy. It may be used to represent special powers, magical abilities, or unique features in an app or game.
Unicorn 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 UnicornIcon to components/icons/game-icons-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,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="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 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.
3 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 entertainment, fantasy, magic, mythical and fiction. 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.
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