confetti-ball SVG 图标
twemojiconfetti-ball
来自 Twitter Emoji 开源图标集,矢量 SVG 可无损缩放到任意尺寸,支持在线改色、复制 React/Vue/HTML 代码。
- 图标 ID
- twemoji:confetti-ball
- 中文名
- —
- 所属集合
- Twitter Emoji
- 集合规模
- 3,988 枚
- 基础网格
- 36px
- 色彩
- 多色
- 开源协议
- CC-BY-4.0
- 作者
twemojiconfetti-ball
来自 Twitter Emoji 开源图标集,矢量 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 36 36"><path fill="#292f33" d="M26 9c-3.591 0-6.27-1.648-7.989-4.905C16.385 7.314 13.993 9 11 9a1 1 0 0 1 0-2c2.729 0 4.765-1.957 6.051-5.816a1 1 0 0 1 1.898 0C20.271 5.151 22.512 7 26 7a1 1 0 1 1 0 2"/><path fill="#ffac33" d="M14.711 9.654c3.364 3.366.498 5.954-2.868 9.319s-5.954 6.232-9.319 2.868a8.616 8.616 0 0 1 0-12.187a8.616 8.616 0 0 1 12.187 0"/><path fill="#be1931" d="M15.542 10.972c1.584 1.585.248 5.486-2.983 8.717s-7.132 4.568-8.717 2.982c-1.584-1.584-.248-5.486 2.982-8.717c3.232-3.23 7.134-4.566 8.718-2.982"/><path fill="#ffac33" d="M21.289 9.654c-3.363 3.366-.498 5.954 2.868 9.319s5.954 6.232 9.319 2.868A8.618 8.618 0 0 0 21.289 9.654"/><path fill="#be1931" d="M20.459 10.972c-1.585 1.585-.249 5.486 2.982 8.717c3.23 3.231 7.133 4.568 8.717 2.982c1.584-1.584.248-5.486-2.983-8.717c-3.23-3.23-7.133-4.566-8.716-2.982"/><path fill="#aa8dd8" d="M22.41 18.221a1 1 0 0 1 .734-.215c.867.094 1.598.396 2.109.873c.541.505.807 1.183.734 1.862c-.129 1.191-1.324 2.285-3.363 2.065c-.793-.085-1.146.17-1.158.291c-.014.121.277.446 1.07.532c.867.094 1.598.396 2.109.873c.541.505.809 1.183.734 1.862c-.129 1.192-1.324 2.285-3.361 2.066c-.578-.062-.883.057-1.012.134c-.103.063-.144.124-.148.158c-.012.12.275.445 1.07.531a1 1 0 0 1-.215 1.989c-2.037-.219-2.973-1.542-2.844-2.735s1.324-2.285 3.363-2.065c.578.063.881-.057 1.01-.134c.104-.062.145-.123.148-.157c.014-.121-.275-.446-1.07-.532c-2.037-.22-2.973-1.542-2.844-2.735s1.324-2.286 3.361-2.064c.578.062.883-.058 1.012-.135c.103-.062.144-.123.148-.157c.012-.121-.277-.446-1.07-.532a1 1 0 0 1-.517-1.775"/><path fill="#77b255" d="M15.266 35.828c-1.973.557-3.334-.322-3.658-1.477c-.324-1.154.378-2.615 2.35-3.17c.77-.216 1.001-.584.97-.701c-.034-.119-.425-.312-1.193-.096c-1.972.556-3.333-.324-3.657-1.479c-.326-1.155.378-2.614 2.351-3.169c.769-.217 1.001-.586.967-.703s-.423-.311-1.192-.095a1 1 0 1 1-.54-1.924c1.971-.555 3.333.322 3.659 1.479c.324 1.154-.379 2.613-2.352 3.17c-.77.216-1.001.584-.967.701c.032.117.422.312 1.19.096c1.974-.556 3.334.322 3.659 1.479c.325 1.153-.378 2.612-2.352 3.169c-.768.215-.999.586-.967.701c.034.118.423.312 1.192.097a.998.998 0 1 1 .54 1.922"/><circle cx="2.5" cy="27.5" r="1.5" fill="#5c913b"/><circle cx="7" cy="31" r="2" fill="#9266cc"/><circle cx="30" cy="27" r="2" fill="#9266cc"/><circle cx="25.5" cy="31.5" r="1.5" fill="#5c913b"/><circle cx="17.5" cy="19.5" r="1.5" fill="#5c913b"/><circle cx="7" cy="23" r="2" fill="#ffcc4d"/><circle cx="27.5" cy="16.5" r="1.5" fill="#ffcc4d"/><circle cx="12.5" cy="14.5" r="1.5" fill="#ffcc4d"/></svg>export function ConfettiBallIcon(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width="1em"
height="1em"
viewBox="0 0 36 36"
fill="currentColor"
{...props}
dangerouslySetInnerHTML={{ __html: `<path fill="#292f33" d="M26 9c-3.591 0-6.27-1.648-7.989-4.905C16.385 7.314 13.993 9 11 9a1 1 0 0 1 0-2c2.729 0 4.765-1.957 6.051-5.816a1 1 0 0 1 1.898 0C20.271 5.151 22.512 7 26 7a1 1 0 1 1 0 2"/><path fill="#ffac33" d="M14.711 9.654c3.364 3.366.498 5.954-2.868 9.319s-5.954 6.232-9.319 2.868a8.616 8.616 0 0 1 0-12.187a8.616 8.616 0 0 1 12.187 0"/><path fill="#be1931" d="M15.542 10.972c1.584 1.585.248 5.486-2.983 8.717s-7.132 4.568-8.717 2.982c-1.584-1.584-.248-5.486 2.982-8.717c3.232-3.23 7.134-4.566 8.718-2.982"/><path fill="#ffac33" d="M21.289 9.654c-3.363 3.366-.498 5.954 2.868 9.319s5.954 6.232 9.319 2.868A8.618 8.618 0 0 0 21.289 9.654"/><path fill="#be1931" d="M20.459 10.972c-1.585 1.585-.249 5.486 2.982 8.717c3.23 3.231 7.133 4.568 8.717 2.982c1.584-1.584.248-5.486-2.983-8.717c-3.23-3.23-7.133-4.566-8.716-2.982"/><path fill="#aa8dd8" d="M22.41 18.221a1 1 0 0 1 .734-.215c.867.094 1.598.396 2.109.873c.541.505.807 1.183.734 1.862c-.129 1.191-1.324 2.285-3.363 2.065c-.793-.085-1.146.17-1.158.291c-.014.121.277.446 1.07.532c.867.094 1.598.396 2.109.873c.541.505.809 1.183.734 1.862c-.129 1.192-1.324 2.285-3.361 2.066c-.578-.062-.883.057-1.012.134c-.103.063-.144.124-.148.158c-.012.12.275.445 1.07.531a1 1 0 0 1-.215 1.989c-2.037-.219-2.973-1.542-2.844-2.735s1.324-2.285 3.363-2.065c.578.063.881-.057 1.01-.134c.104-.062.145-.123.148-.157c.014-.121-.275-.446-1.07-.532c-2.037-.22-2.973-1.542-2.844-2.735s1.324-2.286 3.361-2.064c.578.062.883-.058 1.012-.135c.103-.062.144-.123.148-.157c.012-.121-.277-.446-1.07-.532a1 1 0 0 1-.517-1.775"/><path fill="#77b255" d="M15.266 35.828c-1.973.557-3.334-.322-3.658-1.477c-.324-1.154.378-2.615 2.35-3.17c.77-.216 1.001-.584.97-.701c-.034-.119-.425-.312-1.193-.096c-1.972.556-3.333-.324-3.657-1.479c-.326-1.155.378-2.614 2.351-3.169c.769-.217 1.001-.586.967-.703s-.423-.311-1.192-.095a1 1 0 1 1-.54-1.924c1.971-.555 3.333.322 3.659 1.479c.324 1.154-.379 2.613-2.352 3.17c-.77.216-1.001.584-.967.701c.032.117.422.312 1.19.096c1.974-.556 3.334.322 3.659 1.479c.325 1.153-.378 2.612-2.352 3.169c-.768.215-.999.586-.967.701c.034.118.423.312 1.192.097a.998.998 0 1 1 .54 1.922"/><circle cx="2.5" cy="27.5" r="1.5" fill="#5c913b"/><circle cx="7" cy="31" r="2" fill="#9266cc"/><circle cx="30" cy="27" r="2" fill="#9266cc"/><circle cx="25.5" cy="31.5" r="1.5" fill="#5c913b"/><circle cx="17.5" cy="19.5" r="1.5" fill="#5c913b"/><circle cx="7" cy="23" r="2" fill="#ffcc4d"/><circle cx="27.5" cy="16.5" r="1.5" fill="#ffcc4d"/><circle cx="12.5" cy="14.5" r="1.5" fill="#ffcc4d"/>` }}
/>
);
}<template>
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 36 36" fill="currentColor" v-html="body"></svg>
</template>
<script setup>
const body = `<path fill="#292f33" d="M26 9c-3.591 0-6.27-1.648-7.989-4.905C16.385 7.314 13.993 9 11 9a1 1 0 0 1 0-2c2.729 0 4.765-1.957 6.051-5.816a1 1 0 0 1 1.898 0C20.271 5.151 22.512 7 26 7a1 1 0 1 1 0 2"/><path fill="#ffac33" d="M14.711 9.654c3.364 3.366.498 5.954-2.868 9.319s-5.954 6.232-9.319 2.868a8.616 8.616 0 0 1 0-12.187a8.616 8.616 0 0 1 12.187 0"/><path fill="#be1931" d="M15.542 10.972c1.584 1.585.248 5.486-2.983 8.717s-7.132 4.568-8.717 2.982c-1.584-1.584-.248-5.486 2.982-8.717c3.232-3.23 7.134-4.566 8.718-2.982"/><path fill="#ffac33" d="M21.289 9.654c-3.363 3.366-.498 5.954 2.868 9.319s5.954 6.232 9.319 2.868A8.618 8.618 0 0 0 21.289 9.654"/><path fill="#be1931" d="M20.459 10.972c-1.585 1.585-.249 5.486 2.982 8.717c3.23 3.231 7.133 4.568 8.717 2.982c1.584-1.584.248-5.486-2.983-8.717c-3.23-3.23-7.133-4.566-8.716-2.982"/><path fill="#aa8dd8" d="M22.41 18.221a1 1 0 0 1 .734-.215c.867.094 1.598.396 2.109.873c.541.505.807 1.183.734 1.862c-.129 1.191-1.324 2.285-3.363 2.065c-.793-.085-1.146.17-1.158.291c-.014.121.277.446 1.07.532c.867.094 1.598.396 2.109.873c.541.505.809 1.183.734 1.862c-.129 1.192-1.324 2.285-3.361 2.066c-.578-.062-.883.057-1.012.134c-.103.063-.144.124-.148.158c-.012.12.275.445 1.07.531a1 1 0 0 1-.215 1.989c-2.037-.219-2.973-1.542-2.844-2.735s1.324-2.285 3.363-2.065c.578.063.881-.057 1.01-.134c.104-.062.145-.123.148-.157c.014-.121-.275-.446-1.07-.532c-2.037-.22-2.973-1.542-2.844-2.735s1.324-2.286 3.361-2.064c.578.062.883-.058 1.012-.135c.103-.062.144-.123.148-.157c.012-.121-.277-.446-1.07-.532a1 1 0 0 1-.517-1.775"/><path fill="#77b255" d="M15.266 35.828c-1.973.557-3.334-.322-3.658-1.477c-.324-1.154.378-2.615 2.35-3.17c.77-.216 1.001-.584.97-.701c-.034-.119-.425-.312-1.193-.096c-1.972.556-3.333-.324-3.657-1.479c-.326-1.155.378-2.614 2.351-3.169c.769-.217 1.001-.586.967-.703s-.423-.311-1.192-.095a1 1 0 1 1-.54-1.924c1.971-.555 3.333.322 3.659 1.479c.324 1.154-.379 2.613-2.352 3.17c-.77.216-1.001.584-.967.701c.032.117.422.312 1.19.096c1.974-.556 3.334.322 3.659 1.479c.325 1.153-.378 2.612-2.352 3.169c-.768.215-.999.586-.967.701c.034.118.423.312 1.192.097a.998.998 0 1 1 .54 1.922"/><circle cx="2.5" cy="27.5" r="1.5" fill="#5c913b"/><circle cx="7" cy="31" r="2" fill="#9266cc"/><circle cx="30" cy="27" r="2" fill="#9266cc"/><circle cx="25.5" cy="31.5" r="1.5" fill="#5c913b"/><circle cx="17.5" cy="19.5" r="1.5" fill="#5c913b"/><circle cx="7" cy="23" r="2" fill="#ffcc4d"/><circle cx="27.5" cy="16.5" r="1.5" fill="#ffcc4d"/><circle cx="12.5" cy="14.5" r="1.5" fill="#ffcc4d"/>`;
</script>.confetti-ball {
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%2036%2036%22%3E%3Cpath%20fill%3D%22%23292f33%22%20d%3D%22M26%209c-3.591%200-6.27-1.648-7.989-4.905C16.385%207.314%2013.993%209%2011%209a1%201%200%200%201%200-2c2.729%200%204.765-1.957%206.051-5.816a1%201%200%200%201%201.898%200C20.271%205.151%2022.512%207%2026%207a1%201%200%201%201%200%202%22%2F%3E%3Cpath%20fill%3D%22%23ffac33%22%20d%3D%22M14.711%209.654c3.364%203.366.498%205.954-2.868%209.319s-5.954%206.232-9.319%202.868a8.616%208.616%200%200%201%200-12.187a8.616%208.616%200%200%201%2012.187%200%22%2F%3E%3Cpath%20fill%3D%22%23be1931%22%20d%3D%22M15.542%2010.972c1.584%201.585.248%205.486-2.983%208.717s-7.132%204.568-8.717%202.982c-1.584-1.584-.248-5.486%202.982-8.717c3.232-3.23%207.134-4.566%208.718-2.982%22%2F%3E%3Cpath%20fill%3D%22%23ffac33%22%20d%3D%22M21.289%209.654c-3.363%203.366-.498%205.954%202.868%209.319s5.954%206.232%209.319%202.868A8.618%208.618%200%200%200%2021.289%209.654%22%2F%3E%3Cpath%20fill%3D%22%23be1931%22%20d%3D%22M20.459%2010.972c-1.585%201.585-.249%205.486%202.982%208.717c3.23%203.231%207.133%204.568%208.717%202.982c1.584-1.584.248-5.486-2.983-8.717c-3.23-3.23-7.133-4.566-8.716-2.982%22%2F%3E%3Cpath%20fill%3D%22%23aa8dd8%22%20d%3D%22M22.41%2018.221a1%201%200%200%201%20.734-.215c.867.094%201.598.396%202.109.873c.541.505.807%201.183.734%201.862c-.129%201.191-1.324%202.285-3.363%202.065c-.793-.085-1.146.17-1.158.291c-.014.121.277.446%201.07.532c.867.094%201.598.396%202.109.873c.541.505.809%201.183.734%201.862c-.129%201.192-1.324%202.285-3.361%202.066c-.578-.062-.883.057-1.012.134c-.103.063-.144.124-.148.158c-.012.12.275.445%201.07.531a1%201%200%200%201-.215%201.989c-2.037-.219-2.973-1.542-2.844-2.735s1.324-2.285%203.363-2.065c.578.063.881-.057%201.01-.134c.104-.062.145-.123.148-.157c.014-.121-.275-.446-1.07-.532c-2.037-.22-2.973-1.542-2.844-2.735s1.324-2.286%203.361-2.064c.578.062.883-.058%201.012-.135c.103-.062.144-.123.148-.157c.012-.121-.277-.446-1.07-.532a1%201%200%200%201-.517-1.775%22%2F%3E%3Cpath%20fill%3D%22%2377b255%22%20d%3D%22M15.266%2035.828c-1.973.557-3.334-.322-3.658-1.477c-.324-1.154.378-2.615%202.35-3.17c.77-.216%201.001-.584.97-.701c-.034-.119-.425-.312-1.193-.096c-1.972.556-3.333-.324-3.657-1.479c-.326-1.155.378-2.614%202.351-3.169c.769-.217%201.001-.586.967-.703s-.423-.311-1.192-.095a1%201%200%201%201-.54-1.924c1.971-.555%203.333.322%203.659%201.479c.324%201.154-.379%202.613-2.352%203.17c-.77.216-1.001.584-.967.701c.032.117.422.312%201.19.096c1.974-.556%203.334.322%203.659%201.479c.325%201.153-.378%202.612-2.352%203.169c-.768.215-.999.586-.967.701c.034.118.423.312%201.192.097a.998.998%200%201%201%20.54%201.922%22%2F%3E%3Ccircle%20cx%3D%222.5%22%20cy%3D%2227.5%22%20r%3D%221.5%22%20fill%3D%22%235c913b%22%2F%3E%3Ccircle%20cx%3D%227%22%20cy%3D%2231%22%20r%3D%222%22%20fill%3D%22%239266cc%22%2F%3E%3Ccircle%20cx%3D%2230%22%20cy%3D%2227%22%20r%3D%222%22%20fill%3D%22%239266cc%22%2F%3E%3Ccircle%20cx%3D%2225.5%22%20cy%3D%2231.5%22%20r%3D%221.5%22%20fill%3D%22%235c913b%22%2F%3E%3Ccircle%20cx%3D%2217.5%22%20cy%3D%2219.5%22%20r%3D%221.5%22%20fill%3D%22%235c913b%22%2F%3E%3Ccircle%20cx%3D%227%22%20cy%3D%2223%22%20r%3D%222%22%20fill%3D%22%23ffcc4d%22%2F%3E%3Ccircle%20cx%3D%2227.5%22%20cy%3D%2216.5%22%20r%3D%221.5%22%20fill%3D%22%23ffcc4d%22%2F%3E%3Ccircle%20cx%3D%2212.5%22%20cy%3D%2214.5%22%20r%3D%221.5%22%20fill%3D%22%23ffcc4d%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%2036%2036%22%3E%3Cpath%20fill%3D%22%23292f33%22%20d%3D%22M26%209c-3.591%200-6.27-1.648-7.989-4.905C16.385%207.314%2013.993%209%2011%209a1%201%200%200%201%200-2c2.729%200%204.765-1.957%206.051-5.816a1%201%200%200%201%201.898%200C20.271%205.151%2022.512%207%2026%207a1%201%200%201%201%200%202%22%2F%3E%3Cpath%20fill%3D%22%23ffac33%22%20d%3D%22M14.711%209.654c3.364%203.366.498%205.954-2.868%209.319s-5.954%206.232-9.319%202.868a8.616%208.616%200%200%201%200-12.187a8.616%208.616%200%200%201%2012.187%200%22%2F%3E%3Cpath%20fill%3D%22%23be1931%22%20d%3D%22M15.542%2010.972c1.584%201.585.248%205.486-2.983%208.717s-7.132%204.568-8.717%202.982c-1.584-1.584-.248-5.486%202.982-8.717c3.232-3.23%207.134-4.566%208.718-2.982%22%2F%3E%3Cpath%20fill%3D%22%23ffac33%22%20d%3D%22M21.289%209.654c-3.363%203.366-.498%205.954%202.868%209.319s5.954%206.232%209.319%202.868A8.618%208.618%200%200%200%2021.289%209.654%22%2F%3E%3Cpath%20fill%3D%22%23be1931%22%20d%3D%22M20.459%2010.972c-1.585%201.585-.249%205.486%202.982%208.717c3.23%203.231%207.133%204.568%208.717%202.982c1.584-1.584.248-5.486-2.983-8.717c-3.23-3.23-7.133-4.566-8.716-2.982%22%2F%3E%3Cpath%20fill%3D%22%23aa8dd8%22%20d%3D%22M22.41%2018.221a1%201%200%200%201%20.734-.215c.867.094%201.598.396%202.109.873c.541.505.807%201.183.734%201.862c-.129%201.191-1.324%202.285-3.363%202.065c-.793-.085-1.146.17-1.158.291c-.014.121.277.446%201.07.532c.867.094%201.598.396%202.109.873c.541.505.809%201.183.734%201.862c-.129%201.192-1.324%202.285-3.361%202.066c-.578-.062-.883.057-1.012.134c-.103.063-.144.124-.148.158c-.012.12.275.445%201.07.531a1%201%200%200%201-.215%201.989c-2.037-.219-2.973-1.542-2.844-2.735s1.324-2.285%203.363-2.065c.578.063.881-.057%201.01-.134c.104-.062.145-.123.148-.157c.014-.121-.275-.446-1.07-.532c-2.037-.22-2.973-1.542-2.844-2.735s1.324-2.286%203.361-2.064c.578.062.883-.058%201.012-.135c.103-.062.144-.123.148-.157c.012-.121-.277-.446-1.07-.532a1%201%200%200%201-.517-1.775%22%2F%3E%3Cpath%20fill%3D%22%2377b255%22%20d%3D%22M15.266%2035.828c-1.973.557-3.334-.322-3.658-1.477c-.324-1.154.378-2.615%202.35-3.17c.77-.216%201.001-.584.97-.701c-.034-.119-.425-.312-1.193-.096c-1.972.556-3.333-.324-3.657-1.479c-.326-1.155.378-2.614%202.351-3.169c.769-.217%201.001-.586.967-.703s-.423-.311-1.192-.095a1%201%200%201%201-.54-1.924c1.971-.555%203.333.322%203.659%201.479c.324%201.154-.379%202.613-2.352%203.17c-.77.216-1.001.584-.967.701c.032.117.422.312%201.19.096c1.974-.556%203.334.322%203.659%201.479c.325%201.153-.378%202.612-2.352%203.169c-.768.215-.999.586-.967.701c.034.118.423.312%201.192.097a.998.998%200%201%201%20.54%201.922%22%2F%3E%3Ccircle%20cx%3D%222.5%22%20cy%3D%2227.5%22%20r%3D%221.5%22%20fill%3D%22%235c913b%22%2F%3E%3Ccircle%20cx%3D%227%22%20cy%3D%2231%22%20r%3D%222%22%20fill%3D%22%239266cc%22%2F%3E%3Ccircle%20cx%3D%2230%22%20cy%3D%2227%22%20r%3D%222%22%20fill%3D%22%239266cc%22%2F%3E%3Ccircle%20cx%3D%2225.5%22%20cy%3D%2231.5%22%20r%3D%221.5%22%20fill%3D%22%235c913b%22%2F%3E%3Ccircle%20cx%3D%2217.5%22%20cy%3D%2219.5%22%20r%3D%221.5%22%20fill%3D%22%235c913b%22%2F%3E%3Ccircle%20cx%3D%227%22%20cy%3D%2223%22%20r%3D%222%22%20fill%3D%22%23ffcc4d%22%2F%3E%3Ccircle%20cx%3D%2227.5%22%20cy%3D%2216.5%22%20r%3D%221.5%22%20fill%3D%22%23ffcc4d%22%2F%3E%3Ccircle%20cx%3D%2212.5%22%20cy%3D%2214.5%22%20r%3D%221.5%22%20fill%3D%22%23ffcc4d%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}单文件 CSS 即可播放,无需任何依赖;描画动效仅对描边类图标生效。
透明度往复渐变,适合状态提示与在线指示。
.icon-confetti-ball {
animation: icon-breathe 1.8s ease-in-out infinite;
}
@keyframes icon-breathe {
0%, 100% { opacity: 1; }
50% { opacity: 0.35; }
}匀速循环旋转,适合加载中场景。
.icon-confetti-ball {
animation: icon-spin 1.6s linear infinite;
}
@keyframes icon-spin {
to { transform: rotate(360deg); }
}对源文件的客观技术指标,供工程侧评估引用方式。
文件体积
2.55 KB
2,615 字节
viewBox
0 0 36 36
矢量坐标系
图元总数
15
<path> ×7
风格
多色填充
填充跟随容器颜色
同时含 width/height 与 viewBox:可以只保留 viewBox,让图标跟随容器自适应缩放。 文件体积 2.55 KB(2,615 字节),图元 15 个,风格为多色填充。
关于 confetti-ball 图标的下载、商用与改色。
它是 Twitter Emoji(twemoji)开源图标集中的 confetti-ball 图标,多色填充,viewBox 为 0 0 36 36,文件仅 2.55 KB,矢量格式可无损缩放到任意尺寸。
点击「下载与导出」中的 SVG 源文件按钮保存矢量文件;也可以按 512 / 256 / 128 / 64 / 32 / 16px 预设导出 PNG,或在输入框填 16~1024 之间的任意尺寸。需要 iOS、Android 全套尺寸时,用素材包生成器一键打包。
该图标采用 CC BY 4.0(CC-BY-4.0) 开源协议,通常允许在遵守协议的前提下免费使用,常见要求是保留作者版权声明。商用前建议阅读协议原文确认。
在「预览与场景」的色板中切换颜色,三底色与全部场景会实时跟随;点击任一相近图标可打开预览弹层,复制对应颜色的 SVG 源码或 PNG。也可以复制 SVG 源码后自行修改 fill 值。