Pineapple
The pineapple icon represents a tropical and nutritious fruit, often associated with hospitality, warmth, and welcome.
Exports at 24 × 24 px
Code
Pineapple in your framework
In any framework. Customize it above, and the code follows.
export const PineappleIcon = (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}>
<g strokeLinejoin="round" strokeMiterlimit="10" strokeWidth="2"><path fill="#a57939" stroke="#a57939" strokeLinecap="round" d="M37.17 65.34h-1.26c-6.6 0-12-5.4-12-12V41.67c0-6.6 5.4-12 12-12h.82s7.35 3.41 7.35 8v20.31s.42 7.36-6.91 7.36"/><path fill="#6a462f" stroke="#6a462f" strokeLinecap="round" d="M49.75 41.67v11.67c0 6.6-5.4 12-12 12h-.58c7.33 0 6.91-7.36 6.91-7.36V37.67c0-4.59-7.35-8-7.35-8h1.02c6.6 0 12 5.4 12 12"/><path fill="#b1cc33" d="M44.374 14.679c2.134.044 3.87.583 3.87.583s-2.215 2.214-4.605 5.561c1.94.044 3.503.54 3.503.54s-3.115 3.127-5.811 7.466c-1.89 3.04-4.596 2.82-4.596 2.82s-2.706.23-4.606-2.82c-2.696-4.339-5.81-7.466-5.81-7.466s1.562-.496 3.502-.54c-2.39-3.347-4.605-5.56-4.605-5.56s1.736-.54 3.87-.584c-2.298-3.128-4.33-5.154-4.33-5.154s7.915-2.434 10.938 2.434c.439.704.776 1.387 1.041 2.048c.256-.66.593-1.344 1.032-2.048C40.79 7.09 48.704 9.525 48.704 9.525s-2.032 2.026-4.33 5.154"/><path fill="#b1cc33" d="M43.639 20.823c-3.052 1.236-3.523 3.16-4.321 4.09m5.056-10.234s-4.438 1.544-4.67 4.363m-9.848 1.781c3.051 1.236 3.523 3.16 4.321 4.09M29.12 14.679s4.44 1.544 4.67 4.363"/></g><g fill="none" stroke="#000" strokeLinejoin="round" strokeMiterlimit="10" strokeWidth="2"><path strokeLinecap="round" d="M45.305 32.368c2.706 2.205 4.443 5.562 4.443 9.305v11.666c0 6.6-5.4 12-12 12h-1.835c-6.6 0-12-5.4-12-12V41.673c0-4.085 2.068-7.71 5.21-9.88"/><path d="M44.374 14.679c2.134.044 3.87.583 3.87.583s-2.215 2.214-4.605 5.561c1.94.044 3.503.54 3.503.54s-3.115 3.127-5.811 7.466c-1.89 3.04-4.596 2.82-4.596 2.82s-2.706.23-4.606-2.82c-2.696-4.339-5.81-7.466-5.81-7.466s1.562-.496 3.502-.54c-2.39-3.347-4.605-5.56-4.605-5.56s1.736-.54 3.87-.584c-2.298-3.128-4.33-5.154-4.33-5.154s7.915-2.434 10.938 2.434c.439.704.776 1.387 1.041 2.048c.256-.66.593-1.344 1.032-2.048C40.79 7.09 48.704 9.525 48.704 9.525s-2.032 2.026-4.33 5.154z"/><path strokeLinecap="round" d="M43.639 20.823c-3.052 1.236-3.523 3.16-4.321 4.09m5.056-10.234s-4.438 1.544-4.67 4.363m-9.848 1.781c3.051 1.236 3.523 3.16 4.321 4.09M29.12 14.679s4.44 1.544 4.67 4.363"/></g>
</svg>
);Other libraries
Pineapple 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.
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
Pineapple is tagged food, nutrition, fruit and 3 more. Related tags follow; each opens its icons from every library.
Pricing
OpenMoji MCP, with Pro
Ask for Pineapple 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 Pineapple icon means and where it's used, then how to install, style, label and license it.
The pineapple icon represents a tropical and nutritious fruit, often associated with hospitality, warmth, and welcome. The pineapple is a symbol of friendship, generosity, and warmth.
In software and platforms, the pineapple icon may appear in food delivery apps, recipe websites, or health and wellness platforms, symbolizing a healthy and delicious food option. For example, it could be used in a recipe application to represent a tropical fruit salad.
From a UX perspective, the pineapple icon communicates a sense of warmth, hospitality, and nourishment. It helps users understand that a particular feature or activity is related to healthy eating or a welcoming atmosphere.
Pineapple 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 PineappleIcon to components/icons/openmoji-pineapple.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 PineappleIcon 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 Pineapple 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="Pineapple", so screen readers say what it does.
Yes. PineappleIcon passes every SVG prop to the svg element, so <PineappleIcon 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 Pineapple. 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, nutrition, fruit, healthy, diet and tropical. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Pineapple 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 Pineapple's siblings in it.
4.9 out of 5 from 150+ developers
Install Pineapple from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro