christmas-tree SVG 图标
openmojichristmas-tree
来自 OpenMoji 开源图标集,矢量 SVG 可无损缩放到任意尺寸,支持在线改色、复制 React/Vue/HTML 代码。
- 图标 ID
- openmoji:christmas-tree
- 中文名
- —
- 所属集合
- OpenMoji
- 集合规模
- 4,544 枚
- 基础网格
- 36px
- 色彩
- 多色
- 开源协议
- CC-BY-SA-4.0
- 作者
- OpenMoji
openmojichristmas-tree
来自 OpenMoji 开源图标集,矢量 SVG 可无损缩放到任意尺寸,支持在线改色、复制 React/Vue/HTML 代码。
SVG 矢量源文件,或 PNG 按 16~512 预设与 16~1024 自定义尺寸导出,任意尺寸边缘锐利。
PNG 由矢量源实时渲染,任意尺寸边缘锐利无锯齿;下载与预览均免费,无需注册。
切换预览颜色后,下方三底色、真实界面场景与各尺寸渲染会实时跟随。
内联 SVG、React、Vue 与 CSS mask 四种主流引用方式,代码基于当前源文件生成,复制即用。
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 72 72"><circle cx="36.081" cy="25.744" r="2"/><circle cx="43.681" cy="49.953" r="2"/><circle cx="28.405" cy="51.924" r="2"/><circle cx="41.681" cy="38.674" r="2"/><circle cx="32.405" cy="34.199" r="2"/><circle cx="34.405" cy="45.055" r="2"/><path fill="#a57939" d="M39.156 68.035h-6.312a2.446 2.446 0 0 1-2.293-2.57v-7.584a1 1 0 0 1 1-1h8.898a1 1 0 0 1 1 1v7.584a2.446 2.446 0 0 1-2.293 2.57"/><path fill="#b1cc33" d="m54.766 61.207l-.065-.002L36 60.005l-18.701 1.2a1.02 1.02 0 0 1-.898-.445a1 1 0 0 1-.06-1.001l7.543-15.043l-3.23.403a1 1 0 0 1-.987-1.497l7.073-12.093l-1.926.236a.98.98 0 0 1-.97-.46a1 1 0 0 1 .008-1.074L35.16 12.716a1.036 1.036 0 0 1 1.68 0L48.148 30.23a1 1 0 0 1 .008 1.074a.97.97 0 0 1-.97.46l-1.925-.236l7.073 12.093a1 1 0 0 1-.987 1.497l-3.23-.403l7.543 15.043a1 1 0 0 1-.894 1.448Z"/><path fill="#5c9e31" d="M37.697 29.291h5.682l7.723 13.624l-4.238.249l7.902 18.043l-17.375-1.114z"/><circle cx="36.081" cy="25.744" r="2" fill="#fcea2b"/><circle cx="43.681" cy="49.953" r="2" fill="#d22f27"/><circle cx="28.405" cy="51.924" r="2" fill="#fcea2b"/><circle cx="41.681" cy="38.674" r="2" fill="#fcea2b"/><circle cx="32.405" cy="34.199" r="2" fill="#d22f27"/><circle cx="34.405" cy="45.055" r="2" fill="#d22f27"/><path fill="#fcea2b" d="M32.5 16.27a.738.738 0 0 1-.728-.862l.603-3.515l-2.554-2.49a.737.737 0 0 1 .409-1.258l3.53-.514l1.579-3.2a.767.767 0 0 1 1.322 0l1.579 3.2l3.53.514a.737.737 0 0 1 .41 1.257l-2.556 2.49l.603 3.516a.737.737 0 0 1-1.07.777L36 14.525l-3.158 1.66a.7.7 0 0 1-.343.085"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m39.778 19.109l7.53 11.665l-3.93-.483l8.093 13.836l-5.087-.636l8.382 16.716l-12.834-.834m-11.864 0l-12.834.834l8.382-16.716l-5.087.636l8.093-13.836l-3.93.483l7.53-11.665m8.228 43.315v3.041a1.457 1.457 0 0 1-1.293 1.57h-6.313a1.457 1.457 0 0 1-1.293-1.57v-3.042M36 4.758l1.87 3.79l4.182.607l-3.026 2.95l.714 4.165L36 14.304l-3.74 1.966l.714-4.165l-3.026-2.95l4.182-.607z"/></svg>export function ChristmasTreeIcon(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: `<circle cx="36.081" cy="25.744" r="2"/><circle cx="43.681" cy="49.953" r="2"/><circle cx="28.405" cy="51.924" r="2"/><circle cx="41.681" cy="38.674" r="2"/><circle cx="32.405" cy="34.199" r="2"/><circle cx="34.405" cy="45.055" r="2"/><path fill="#a57939" d="M39.156 68.035h-6.312a2.446 2.446 0 0 1-2.293-2.57v-7.584a1 1 0 0 1 1-1h8.898a1 1 0 0 1 1 1v7.584a2.446 2.446 0 0 1-2.293 2.57"/><path fill="#b1cc33" d="m54.766 61.207l-.065-.002L36 60.005l-18.701 1.2a1.02 1.02 0 0 1-.898-.445a1 1 0 0 1-.06-1.001l7.543-15.043l-3.23.403a1 1 0 0 1-.987-1.497l7.073-12.093l-1.926.236a.98.98 0 0 1-.97-.46a1 1 0 0 1 .008-1.074L35.16 12.716a1.036 1.036 0 0 1 1.68 0L48.148 30.23a1 1 0 0 1 .008 1.074a.97.97 0 0 1-.97.46l-1.925-.236l7.073 12.093a1 1 0 0 1-.987 1.497l-3.23-.403l7.543 15.043a1 1 0 0 1-.894 1.448Z"/><path fill="#5c9e31" d="M37.697 29.291h5.682l7.723 13.624l-4.238.249l7.902 18.043l-17.375-1.114z"/><circle cx="36.081" cy="25.744" r="2" fill="#fcea2b"/><circle cx="43.681" cy="49.953" r="2" fill="#d22f27"/><circle cx="28.405" cy="51.924" r="2" fill="#fcea2b"/><circle cx="41.681" cy="38.674" r="2" fill="#fcea2b"/><circle cx="32.405" cy="34.199" r="2" fill="#d22f27"/><circle cx="34.405" cy="45.055" r="2" fill="#d22f27"/><path fill="#fcea2b" d="M32.5 16.27a.738.738 0 0 1-.728-.862l.603-3.515l-2.554-2.49a.737.737 0 0 1 .409-1.258l3.53-.514l1.579-3.2a.767.767 0 0 1 1.322 0l1.579 3.2l3.53.514a.737.737 0 0 1 .41 1.257l-2.556 2.49l.603 3.516a.737.737 0 0 1-1.07.777L36 14.525l-3.158 1.66a.7.7 0 0 1-.343.085"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m39.778 19.109l7.53 11.665l-3.93-.483l8.093 13.836l-5.087-.636l8.382 16.716l-12.834-.834m-11.864 0l-12.834.834l8.382-16.716l-5.087.636l8.093-13.836l-3.93.483l7.53-11.665m8.228 43.315v3.041a1.457 1.457 0 0 1-1.293 1.57h-6.313a1.457 1.457 0 0 1-1.293-1.57v-3.042M36 4.758l1.87 3.79l4.182.607l-3.026 2.95l.714 4.165L36 14.304l-3.74 1.966l.714-4.165l-3.026-2.95l4.182-.607z"/>` }}
/>
);
}<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 = `<circle cx="36.081" cy="25.744" r="2"/><circle cx="43.681" cy="49.953" r="2"/><circle cx="28.405" cy="51.924" r="2"/><circle cx="41.681" cy="38.674" r="2"/><circle cx="32.405" cy="34.199" r="2"/><circle cx="34.405" cy="45.055" r="2"/><path fill="#a57939" d="M39.156 68.035h-6.312a2.446 2.446 0 0 1-2.293-2.57v-7.584a1 1 0 0 1 1-1h8.898a1 1 0 0 1 1 1v7.584a2.446 2.446 0 0 1-2.293 2.57"/><path fill="#b1cc33" d="m54.766 61.207l-.065-.002L36 60.005l-18.701 1.2a1.02 1.02 0 0 1-.898-.445a1 1 0 0 1-.06-1.001l7.543-15.043l-3.23.403a1 1 0 0 1-.987-1.497l7.073-12.093l-1.926.236a.98.98 0 0 1-.97-.46a1 1 0 0 1 .008-1.074L35.16 12.716a1.036 1.036 0 0 1 1.68 0L48.148 30.23a1 1 0 0 1 .008 1.074a.97.97 0 0 1-.97.46l-1.925-.236l7.073 12.093a1 1 0 0 1-.987 1.497l-3.23-.403l7.543 15.043a1 1 0 0 1-.894 1.448Z"/><path fill="#5c9e31" d="M37.697 29.291h5.682l7.723 13.624l-4.238.249l7.902 18.043l-17.375-1.114z"/><circle cx="36.081" cy="25.744" r="2" fill="#fcea2b"/><circle cx="43.681" cy="49.953" r="2" fill="#d22f27"/><circle cx="28.405" cy="51.924" r="2" fill="#fcea2b"/><circle cx="41.681" cy="38.674" r="2" fill="#fcea2b"/><circle cx="32.405" cy="34.199" r="2" fill="#d22f27"/><circle cx="34.405" cy="45.055" r="2" fill="#d22f27"/><path fill="#fcea2b" d="M32.5 16.27a.738.738 0 0 1-.728-.862l.603-3.515l-2.554-2.49a.737.737 0 0 1 .409-1.258l3.53-.514l1.579-3.2a.767.767 0 0 1 1.322 0l1.579 3.2l3.53.514a.737.737 0 0 1 .41 1.257l-2.556 2.49l.603 3.516a.737.737 0 0 1-1.07.777L36 14.525l-3.158 1.66a.7.7 0 0 1-.343.085"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m39.778 19.109l7.53 11.665l-3.93-.483l8.093 13.836l-5.087-.636l8.382 16.716l-12.834-.834m-11.864 0l-12.834.834l8.382-16.716l-5.087.636l8.093-13.836l-3.93.483l7.53-11.665m8.228 43.315v3.041a1.457 1.457 0 0 1-1.293 1.57h-6.313a1.457 1.457 0 0 1-1.293-1.57v-3.042M36 4.758l1.87 3.79l4.182.607l-3.026 2.95l.714 4.165L36 14.304l-3.74 1.966l.714-4.165l-3.026-2.95l4.182-.607z"/>`;
</script>.christmas-tree {
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%3Ccircle%20cx%3D%2236.081%22%20cy%3D%2225.744%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%2243.681%22%20cy%3D%2249.953%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%2228.405%22%20cy%3D%2251.924%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%2241.681%22%20cy%3D%2238.674%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%2232.405%22%20cy%3D%2234.199%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%2234.405%22%20cy%3D%2245.055%22%20r%3D%222%22%2F%3E%3Cpath%20fill%3D%22%23a57939%22%20d%3D%22M39.156%2068.035h-6.312a2.446%202.446%200%200%201-2.293-2.57v-7.584a1%201%200%200%201%201-1h8.898a1%201%200%200%201%201%201v7.584a2.446%202.446%200%200%201-2.293%202.57%22%2F%3E%3Cpath%20fill%3D%22%23b1cc33%22%20d%3D%22m54.766%2061.207l-.065-.002L36%2060.005l-18.701%201.2a1.02%201.02%200%200%201-.898-.445a1%201%200%200%201-.06-1.001l7.543-15.043l-3.23.403a1%201%200%200%201-.987-1.497l7.073-12.093l-1.926.236a.98.98%200%200%201-.97-.46a1%201%200%200%201%20.008-1.074L35.16%2012.716a1.036%201.036%200%200%201%201.68%200L48.148%2030.23a1%201%200%200%201%20.008%201.074a.97.97%200%200%201-.97.46l-1.925-.236l7.073%2012.093a1%201%200%200%201-.987%201.497l-3.23-.403l7.543%2015.043a1%201%200%200%201-.894%201.448Z%22%2F%3E%3Cpath%20fill%3D%22%235c9e31%22%20d%3D%22M37.697%2029.291h5.682l7.723%2013.624l-4.238.249l7.902%2018.043l-17.375-1.114z%22%2F%3E%3Ccircle%20cx%3D%2236.081%22%20cy%3D%2225.744%22%20r%3D%222%22%20fill%3D%22%23fcea2b%22%2F%3E%3Ccircle%20cx%3D%2243.681%22%20cy%3D%2249.953%22%20r%3D%222%22%20fill%3D%22%23d22f27%22%2F%3E%3Ccircle%20cx%3D%2228.405%22%20cy%3D%2251.924%22%20r%3D%222%22%20fill%3D%22%23fcea2b%22%2F%3E%3Ccircle%20cx%3D%2241.681%22%20cy%3D%2238.674%22%20r%3D%222%22%20fill%3D%22%23fcea2b%22%2F%3E%3Ccircle%20cx%3D%2232.405%22%20cy%3D%2234.199%22%20r%3D%222%22%20fill%3D%22%23d22f27%22%2F%3E%3Ccircle%20cx%3D%2234.405%22%20cy%3D%2245.055%22%20r%3D%222%22%20fill%3D%22%23d22f27%22%2F%3E%3Cpath%20fill%3D%22%23fcea2b%22%20d%3D%22M32.5%2016.27a.738.738%200%200%201-.728-.862l.603-3.515l-2.554-2.49a.737.737%200%200%201%20.409-1.258l3.53-.514l1.579-3.2a.767.767%200%200%201%201.322%200l1.579%203.2l3.53.514a.737.737%200%200%201%20.41%201.257l-2.556%202.49l.603%203.516a.737.737%200%200%201-1.07.777L36%2014.525l-3.158%201.66a.7.7%200%200%201-.343.085%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22m39.778%2019.109l7.53%2011.665l-3.93-.483l8.093%2013.836l-5.087-.636l8.382%2016.716l-12.834-.834m-11.864%200l-12.834.834l8.382-16.716l-5.087.636l8.093-13.836l-3.93.483l7.53-11.665m8.228%2043.315v3.041a1.457%201.457%200%200%201-1.293%201.57h-6.313a1.457%201.457%200%200%201-1.293-1.57v-3.042M36%204.758l1.87%203.79l4.182.607l-3.026%202.95l.714%204.165L36%2014.304l-3.74%201.966l.714-4.165l-3.026-2.95l4.182-.607z%22%2F%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%3Ccircle%20cx%3D%2236.081%22%20cy%3D%2225.744%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%2243.681%22%20cy%3D%2249.953%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%2228.405%22%20cy%3D%2251.924%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%2241.681%22%20cy%3D%2238.674%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%2232.405%22%20cy%3D%2234.199%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%2234.405%22%20cy%3D%2245.055%22%20r%3D%222%22%2F%3E%3Cpath%20fill%3D%22%23a57939%22%20d%3D%22M39.156%2068.035h-6.312a2.446%202.446%200%200%201-2.293-2.57v-7.584a1%201%200%200%201%201-1h8.898a1%201%200%200%201%201%201v7.584a2.446%202.446%200%200%201-2.293%202.57%22%2F%3E%3Cpath%20fill%3D%22%23b1cc33%22%20d%3D%22m54.766%2061.207l-.065-.002L36%2060.005l-18.701%201.2a1.02%201.02%200%200%201-.898-.445a1%201%200%200%201-.06-1.001l7.543-15.043l-3.23.403a1%201%200%200%201-.987-1.497l7.073-12.093l-1.926.236a.98.98%200%200%201-.97-.46a1%201%200%200%201%20.008-1.074L35.16%2012.716a1.036%201.036%200%200%201%201.68%200L48.148%2030.23a1%201%200%200%201%20.008%201.074a.97.97%200%200%201-.97.46l-1.925-.236l7.073%2012.093a1%201%200%200%201-.987%201.497l-3.23-.403l7.543%2015.043a1%201%200%200%201-.894%201.448Z%22%2F%3E%3Cpath%20fill%3D%22%235c9e31%22%20d%3D%22M37.697%2029.291h5.682l7.723%2013.624l-4.238.249l7.902%2018.043l-17.375-1.114z%22%2F%3E%3Ccircle%20cx%3D%2236.081%22%20cy%3D%2225.744%22%20r%3D%222%22%20fill%3D%22%23fcea2b%22%2F%3E%3Ccircle%20cx%3D%2243.681%22%20cy%3D%2249.953%22%20r%3D%222%22%20fill%3D%22%23d22f27%22%2F%3E%3Ccircle%20cx%3D%2228.405%22%20cy%3D%2251.924%22%20r%3D%222%22%20fill%3D%22%23fcea2b%22%2F%3E%3Ccircle%20cx%3D%2241.681%22%20cy%3D%2238.674%22%20r%3D%222%22%20fill%3D%22%23fcea2b%22%2F%3E%3Ccircle%20cx%3D%2232.405%22%20cy%3D%2234.199%22%20r%3D%222%22%20fill%3D%22%23d22f27%22%2F%3E%3Ccircle%20cx%3D%2234.405%22%20cy%3D%2245.055%22%20r%3D%222%22%20fill%3D%22%23d22f27%22%2F%3E%3Cpath%20fill%3D%22%23fcea2b%22%20d%3D%22M32.5%2016.27a.738.738%200%200%201-.728-.862l.603-3.515l-2.554-2.49a.737.737%200%200%201%20.409-1.258l3.53-.514l1.579-3.2a.767.767%200%200%201%201.322%200l1.579%203.2l3.53.514a.737.737%200%200%201%20.41%201.257l-2.556%202.49l.603%203.516a.737.737%200%200%201-1.07.777L36%2014.525l-3.158%201.66a.7.7%200%200%201-.343.085%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22m39.778%2019.109l7.53%2011.665l-3.93-.483l8.093%2013.836l-5.087-.636l8.382%2016.716l-12.834-.834m-11.864%200l-12.834.834l8.382-16.716l-5.087.636l8.093-13.836l-3.93.483l7.53-11.665m8.228%2043.315v3.041a1.457%201.457%200%200%201-1.293%201.57h-6.313a1.457%201.457%200%200%201-1.293-1.57v-3.042M36%204.758l1.87%203.79l4.182.607l-3.026%202.95l.714%204.165L36%2014.304l-3.74%201.966l.714-4.165l-3.026-2.95l4.182-.607z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}单文件 CSS 即可播放,无需任何依赖;描画动效仅对描边类图标生效。
透明度往复渐变,适合状态提示与在线指示。
.icon-christmas-tree {
animation: icon-breathe 1.8s ease-in-out infinite;
}
@keyframes icon-breathe {
0%, 100% { opacity: 1; }
50% { opacity: 0.35; }
}匀速循环旋转,适合加载中场景。
.icon-christmas-tree {
animation: icon-spin 1.6s linear infinite;
}
@keyframes icon-spin {
to { transform: rotate(360deg); }
}线条从无到有依次绘出,适合线性图标与首屏引导。
.icon-christmas-tree path {
stroke-dasharray: 120;
animation: icon-draw 1.2s ease forwards;
}
@keyframes icon-draw {
from { stroke-dashoffset: 120; }
to { stroke-dashoffset: 0; }
}对源文件的客观技术指标,供工程侧评估引用方式。
文件体积
2.03 KB
2,074 字节
viewBox
0 0 72 72
矢量坐标系
图元总数
17
<path> ×5
风格
多色填充
描边可随字号加粗
同时含 width/height 与 viewBox:可以只保留 viewBox,让图标跟随容器自适应缩放。 文件体积 2.03 KB(2,074 字节),图元 17 个,风格为多色填充。
关于 christmas-tree 图标的下载、商用与改色。
它是 OpenMoji(openmoji)开源图标集中的 christmas-tree 图标,多色填充,viewBox 为 0 0 72 72,文件仅 2.03 KB,矢量格式可无损缩放到任意尺寸。
点击「下载与导出」中的 SVG 源文件按钮保存矢量文件;也可以按 512 / 256 / 128 / 64 / 32 / 16px 预设导出 PNG,或在输入框填 16~1024 之间的任意尺寸。需要 iOS、Android 全套尺寸时,用素材包生成器一键打包。
该图标采用 CC BY-SA 4.0(CC-BY-SA-4.0) 开源协议,通常允许在遵守协议的前提下免费使用,常见要求是保留作者版权声明。商用前建议阅读协议原文确认。
在「预览与场景」的色板中切换颜色,三底色与全部场景会实时跟随;点击任一相近图标可打开预览弹层,复制对应颜色的 SVG 源码或 PNG。也可以复制 SVG 源码后自行修改 fill 值。