Coconut
The coconut icon represents a coconut, symbolizing food or tropical destinations.
Exports at 24 × 24 px
Code
Coconut in your framework
In any framework. Customize it above, and the code follows.
export const CoconutIcon = (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="#a57939" stroke="#a57939" strokeLinecap="round" strokeLinejoin="round" strokeMiterlimit="10" strokeWidth="2" d="M52.738 53.134a26.1 26.1 0 0 1-6.296 4.644c-.753.392-1.527.753-2.311 1.073a26.2 26.2 0 0 1-9.784 1.899a25.93 25.93 0 0 1-18.391-7.616C5.8 42.978 11.466 32.173 21.622 22.016c10.155-10.165 20.96-15.821 31.116-5.666a26.3 26.3 0 0 1 3.168 3.83c6.853 10.113 5.8 23.994-3.168 32.953"/><path fill="#d0cfce" stroke="#d0cfce" strokeLinecap="round" strokeLinejoin="round" strokeMiterlimit="10" strokeWidth="2" d="M21.56 45.5c-2.768.292-4.54 1.454-6.018.458C8 40.875 31.625 12.292 42.75 14.458C38.032 15.953 17.832 28.326 21.56 45.5"/><path fill="#fff" stroke="#fff" strokeLinecap="round" strokeLinejoin="round" strokeMiterlimit="10" strokeWidth="2" d="M35.99 36.01c-4.03 4.03-8.34 7.03-12.04 8.63c-.83.36-1.63.65-2.39.86C13.8 29.556 41.162 12.734 44.8 15.51c3.626 2.767-.72 12.41-8.81 20.5"/><path fill="#fff" d="M45.667 15.875c-1.771-1.771-5.11-2.033-9.042-.417M14.371 40.667c-.612 2.464-.395 4.478.807 5.68"/><path fill="#6a462f" d="M52.738 53.134a25.93 25.93 0 0 1-18.391 7.616c-2.645-.003 31.94-14.857 13.007-48.328c17.62 10.555 14.352 31.753 5.384 40.712"/><g fill="none" stroke="#000" strokeLinecap="round" strokeLinejoin="round" strokeMiterlimit="10" strokeWidth="2"><path d="M45.667 15.875c-1.771-1.771-5.11-2.033-9.042-.417M14.371 40.667c-.612 2.464-.395 4.478.807 5.68"/><path d="M45.666 15.858c1.143 1.143 1.408 2.015.834 4.392c-.44 1.824.875 7.5-2.701 7.182c-1.77-.157-2.413 5.715-3.674 7.318S38.079 34.421 36.5 36c-1.24 1.24-3.627 2.983-5.25 4.125c-.53.372.044.75-.125 1.375c-.332 1.23-5.96 3.944-7.797 4.716c-1.304.549-3.1-.394-4.203-.216c-1.953.316-2.955 1.338-3.947.346"/><path d="M52.738 53.134a26.1 26.1 0 0 1-6.296 4.644c-.753.392-1.527.753-2.311 1.073a26.2 26.2 0 0 1-9.784 1.899a25.93 25.93 0 0 1-18.391-7.616C5.8 42.978 11.466 32.173 21.622 22.016c10.155-10.165 20.96-15.821 31.116-5.666c1.197 1.197 2.219 2.672 3.137 4.024c6.853 10.114 5.831 23.8-3.137 32.758"/></g>
</svg>
);Other libraries
Coconut in 5 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.
Skip the copy and paste. With Pro, your AI agent finds and installs any OpenMoji icon from a prompt.
Get ProTags
Browse by tag
Coconut is tagged emoji, food, openmoji and 2 more. Related tags follow; each opens its icons from every library.
Pricing
OpenMoji MCP, with Pro
Ask for Coconut 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 Coconut icon means and where it's used, then how to install, style, label and license it.
The coconut icon represents a coconut, symbolizing food or tropical destinations. This icon is part of the OpenMoji library, a popular open-source emoji set. The coconut icon is often used to discuss food or travel.
In real-world applications, this icon appears in food blogs, travel websites, or social media platforms, such as Instagram or Facebook, to discuss food or travel. It can also be used in advertising or marketing materials to promote food products or travel destinations.
From a UX perspective, the coconut icon communicates that the content is related to food or tropical destinations, helping users understand the context. This icon can be used to add a touch of warmth or hospitality to digital interfaces.
Coconut 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 CoconutIcon to components/icons/openmoji-coconut.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 CoconutIcon 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 Coconut 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="Coconut", so screen readers say what it does.
Yes. CoconutIcon passes every SVG prop to the svg element, so <CoconutIcon 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.
5 other libraries draw an icon called Coconut. 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 emoji, food, openmoji, fruit and tropical. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Coconut 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 Coconut's siblings in it.
4.9 out of 5 from 150+ developers
Install Coconut from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro