下载 pineapple 图标
SVG 矢量源文件,或 PNG 按 16~512 预设与 16~1024 自定义尺寸导出,任意尺寸边缘锐利。
PNG 由矢量源实时渲染,任意尺寸边缘锐利无锯齿;下载与预览均免费,无需注册。
pineapple 的预览与使用场景
切换预览颜色后,下方三底色、真实界面场景与各尺寸渲染会实时跟随。
在真实界面里长这样
各尺寸下的可读性
复制 pineapple 图标代码
内联 SVG、React、Vue 与 CSS mask 四种主流引用方式,代码基于当前源文件生成,复制即用。
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 72 72"><g stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"><path fill="#a57939" stroke="#a57939" stroke-linecap="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" stroke-linecap="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" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"><path stroke-linecap="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 stroke-linecap="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>export function PineappleIcon(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width="1em"
height="1em"
viewBox="0 0 72 72"
fill="currentColor"
{...props}
dangerouslySetInnerHTML={{ __html: `<g stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"><path fill="#a57939" stroke="#a57939" stroke-linecap="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" stroke-linecap="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" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"><path stroke-linecap="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 stroke-linecap="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>` }}
/>
);
}<template>
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 72 72" fill="currentColor" v-html="body"></svg>
</template>
<script setup>
const body = `<g stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"><path fill="#a57939" stroke="#a57939" stroke-linecap="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" stroke-linecap="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" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"><path stroke-linecap="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 stroke-linecap="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>`;
</script>.pineapple {
width: 1em;
height: 1em;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2072%2072%22%3E%3Cg%20stroke-linejoin%3D%22round%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222%22%3E%3Cpath%20fill%3D%22%23a57939%22%20stroke%3D%22%23a57939%22%20stroke-linecap%3D%22round%22%20d%3D%22M37.17%2065.34h-1.26c-6.6%200-12-5.4-12-12V41.67c0-6.6%205.4-12%2012-12h.82s7.35%203.41%207.35%208v20.31s.42%207.36-6.91%207.36%22%2F%3E%3Cpath%20fill%3D%22%236a462f%22%20stroke%3D%22%236a462f%22%20stroke-linecap%3D%22round%22%20d%3D%22M49.75%2041.67v11.67c0%206.6-5.4%2012-12%2012h-.58c7.33%200%206.91-7.36%206.91-7.36V37.67c0-4.59-7.35-8-7.35-8h1.02c6.6%200%2012%205.4%2012%2012%22%2F%3E%3Cpath%20fill%3D%22%23b1cc33%22%20d%3D%22M44.374%2014.679c2.134.044%203.87.583%203.87.583s-2.215%202.214-4.605%205.561c1.94.044%203.503.54%203.503.54s-3.115%203.127-5.811%207.466c-1.89%203.04-4.596%202.82-4.596%202.82s-2.706.23-4.606-2.82c-2.696-4.339-5.81-7.466-5.81-7.466s1.562-.496%203.502-.54c-2.39-3.347-4.605-5.56-4.605-5.56s1.736-.54%203.87-.584c-2.298-3.128-4.33-5.154-4.33-5.154s7.915-2.434%2010.938%202.434c.439.704.776%201.387%201.041%202.048c.256-.66.593-1.344%201.032-2.048C40.79%207.09%2048.704%209.525%2048.704%209.525s-2.032%202.026-4.33%205.154%22%2F%3E%3Cpath%20fill%3D%22%23b1cc33%22%20d%3D%22M43.639%2020.823c-3.052%201.236-3.523%203.16-4.321%204.09m5.056-10.234s-4.438%201.544-4.67%204.363m-9.848%201.781c3.051%201.236%203.523%203.16%204.321%204.09M29.12%2014.679s4.44%201.544%204.67%204.363%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-linejoin%3D%22round%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222%22%3E%3Cpath%20stroke-linecap%3D%22round%22%20d%3D%22M45.305%2032.368c2.706%202.205%204.443%205.562%204.443%209.305v11.666c0%206.6-5.4%2012-12%2012h-1.835c-6.6%200-12-5.4-12-12V41.673c0-4.085%202.068-7.71%205.21-9.88%22%2F%3E%3Cpath%20d%3D%22M44.374%2014.679c2.134.044%203.87.583%203.87.583s-2.215%202.214-4.605%205.561c1.94.044%203.503.54%203.503.54s-3.115%203.127-5.811%207.466c-1.89%203.04-4.596%202.82-4.596%202.82s-2.706.23-4.606-2.82c-2.696-4.339-5.81-7.466-5.81-7.466s1.562-.496%203.502-.54c-2.39-3.347-4.605-5.56-4.605-5.56s1.736-.54%203.87-.584c-2.298-3.128-4.33-5.154-4.33-5.154s7.915-2.434%2010.938%202.434c.439.704.776%201.387%201.041%202.048c.256-.66.593-1.344%201.032-2.048C40.79%207.09%2048.704%209.525%2048.704%209.525s-2.032%202.026-4.33%205.154z%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20d%3D%22M43.639%2020.823c-3.052%201.236-3.523%203.16-4.321%204.09m5.056-10.234s-4.438%201.544-4.67%204.363m-9.848%201.781c3.051%201.236%203.523%203.16%204.321%204.09M29.12%2014.679s4.44%201.544%204.67%204.363%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2072%2072%22%3E%3Cg%20stroke-linejoin%3D%22round%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222%22%3E%3Cpath%20fill%3D%22%23a57939%22%20stroke%3D%22%23a57939%22%20stroke-linecap%3D%22round%22%20d%3D%22M37.17%2065.34h-1.26c-6.6%200-12-5.4-12-12V41.67c0-6.6%205.4-12%2012-12h.82s7.35%203.41%207.35%208v20.31s.42%207.36-6.91%207.36%22%2F%3E%3Cpath%20fill%3D%22%236a462f%22%20stroke%3D%22%236a462f%22%20stroke-linecap%3D%22round%22%20d%3D%22M49.75%2041.67v11.67c0%206.6-5.4%2012-12%2012h-.58c7.33%200%206.91-7.36%206.91-7.36V37.67c0-4.59-7.35-8-7.35-8h1.02c6.6%200%2012%205.4%2012%2012%22%2F%3E%3Cpath%20fill%3D%22%23b1cc33%22%20d%3D%22M44.374%2014.679c2.134.044%203.87.583%203.87.583s-2.215%202.214-4.605%205.561c1.94.044%203.503.54%203.503.54s-3.115%203.127-5.811%207.466c-1.89%203.04-4.596%202.82-4.596%202.82s-2.706.23-4.606-2.82c-2.696-4.339-5.81-7.466-5.81-7.466s1.562-.496%203.502-.54c-2.39-3.347-4.605-5.56-4.605-5.56s1.736-.54%203.87-.584c-2.298-3.128-4.33-5.154-4.33-5.154s7.915-2.434%2010.938%202.434c.439.704.776%201.387%201.041%202.048c.256-.66.593-1.344%201.032-2.048C40.79%207.09%2048.704%209.525%2048.704%209.525s-2.032%202.026-4.33%205.154%22%2F%3E%3Cpath%20fill%3D%22%23b1cc33%22%20d%3D%22M43.639%2020.823c-3.052%201.236-3.523%203.16-4.321%204.09m5.056-10.234s-4.438%201.544-4.67%204.363m-9.848%201.781c3.051%201.236%203.523%203.16%204.321%204.09M29.12%2014.679s4.44%201.544%204.67%204.363%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-linejoin%3D%22round%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222%22%3E%3Cpath%20stroke-linecap%3D%22round%22%20d%3D%22M45.305%2032.368c2.706%202.205%204.443%205.562%204.443%209.305v11.666c0%206.6-5.4%2012-12%2012h-1.835c-6.6%200-12-5.4-12-12V41.673c0-4.085%202.068-7.71%205.21-9.88%22%2F%3E%3Cpath%20d%3D%22M44.374%2014.679c2.134.044%203.87.583%203.87.583s-2.215%202.214-4.605%205.561c1.94.044%203.503.54%203.503.54s-3.115%203.127-5.811%207.466c-1.89%203.04-4.596%202.82-4.596%202.82s-2.706.23-4.606-2.82c-2.696-4.339-5.81-7.466-5.81-7.466s1.562-.496%203.502-.54c-2.39-3.347-4.605-5.56-4.605-5.56s1.736-.54%203.87-.584c-2.298-3.128-4.33-5.154-4.33-5.154s7.915-2.434%2010.938%202.434c.439.704.776%201.387%201.041%202.048c.256-.66.593-1.344%201.032-2.048C40.79%207.09%2048.704%209.525%2048.704%209.525s-2.032%202.026-4.33%205.154z%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20d%3D%22M43.639%2020.823c-3.052%201.236-3.523%203.16-4.321%204.09m5.056-10.234s-4.438%201.544-4.67%204.363m-9.848%201.781c3.051%201.236%203.523%203.16%204.321%204.09M29.12%2014.679s4.44%201.544%204.67%204.363%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}给 pineapple 加一点动效
单文件 CSS 即可播放,无需任何依赖;描画动效仅对描边类图标生效。
呼吸
透明度往复渐变,适合状态提示与在线指示。
.icon-pineapple {
animation: icon-breathe 1.8s ease-in-out infinite;
}
@keyframes icon-breathe {
0%, 100% { opacity: 1; }
50% { opacity: 0.35; }
}旋转
匀速循环旋转,适合加载中场景。
.icon-pineapple {
animation: icon-spin 1.6s linear infinite;
}
@keyframes icon-spin {
to { transform: rotate(360deg); }
}描画
线条从无到有依次绘出,适合线性图标与首屏引导。
.icon-pineapple path {
stroke-dasharray: 120;
animation: icon-draw 1.2s ease forwards;
}
@keyframes icon-draw {
from { stroke-dashoffset: 120; }
to { stroke-dashoffset: 0; }
}SVG 健康报告
对源文件的客观技术指标,供工程侧评估引用方式。
文件体积
2.12 KB
2,166 字节
viewBox
0 0 72 72
矢量坐标系
图元总数
7
<path> ×7
风格
多色填充
描边可随字号加粗
同时含 width/height 与 viewBox:可以只保留 viewBox,让图标跟随容器自适应缩放。 文件体积 2.12 KB(2,166 字节),图元 7 个,风格为多色填充。
常见问题
关于 pineapple 图标的下载、商用与改色。
pineapple 图标是什么?▾
它是 OpenMoji(openmoji)开源图标集中的 pineapple 图标,多色填充,viewBox 为 0 0 72 72,文件仅 2.12 KB,矢量格式可无损缩放到任意尺寸。
如何下载 pineapple 图标?▾
点击「下载与导出」中的 SVG 源文件按钮保存矢量文件;也可以按 512 / 256 / 128 / 64 / 32 / 16px 预设导出 PNG,或在输入框填 16~1024 之间的任意尺寸。需要 iOS、Android 全套尺寸时,用素材包生成器一键打包。
pineapple 图标可以商用吗?▾
该图标采用 CC BY-SA 4.0(CC-BY-SA-4.0) 开源协议,通常允许在遵守协议的前提下免费使用,常见要求是保留作者版权声明。商用前建议阅读协议原文确认。
如何修改 pineapple 图标的颜色?▾
在「预览与场景」的色板中切换颜色,三底色与全部场景会实时跟随;点击任一相近图标可打开预览弹层,复制对应颜色的 SVG 源码或 PNG。也可以复制 SVG 源码后自行修改 fill 值。