下载 rain-fill 图标
SVG 矢量源文件,或 PNG 按 16~512 预设与 16~1024 自定义尺寸导出,任意尺寸边缘锐利。
PNG 由矢量源实时渲染,任意尺寸边缘锐利无锯齿;下载与预览均免费,无需注册。
rain-fill 的预览与使用场景
切换预览颜色后,下方三底色、真实界面场景与各尺寸渲染会实时跟随。
在真实界面里长这样
各尺寸下的可读性
复制 rain-fill 图标代码
内联 SVG、React、Vue 与 CSS mask 四种主流引用方式,代码基于当前源文件生成,复制即用。
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><defs><linearGradient id="SVGALai0ckp" x1="99.5" x2="232.6" y1="30.7" y2="261.4" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#f3f7fe"/><stop offset=".5" stop-color="#f3f7fe"/><stop offset="1" stop-color="#deeafb"/></linearGradient><linearGradient id="SVGRoVMrbxK" x1="1381.3" x2="1399.5" y1="-1144.7" y2="-1097.4" gradientTransform="rotate(-9 8002.567 8233.063)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#0b65ed"/><stop offset=".5" stop-color="#0a5ad4"/><stop offset="1" stop-color="#0950bc"/></linearGradient><linearGradient id="SVGmsJ3GbtL" x1="1436.7" x2="1454.9" y1="-1137" y2="-1089.7" gradientTransform="rotate(-9 8009.537 8233.037)" href="#SVGRoVMrbxK"/><linearGradient id="SVGydFaQd9e" x1="1492.1" x2="1510.3" y1="-1129.3" y2="-1082.1" gradientTransform="rotate(-9 8016.566 8233.078)" href="#SVGRoVMrbxK"/><symbol id="SVGuyKkudqm" viewBox="0 0 350 222"><path fill="url(#SVGALai0ckp)" stroke="#e6effc" stroke-miterlimit="10" stroke-width="6" d="m291 107l-2.5.1A83.9 83.9 0 0 0 135.6 43A56 56 0 0 0 51 91a56.6 56.6 0 0 0 .8 9A60 60 0 0 0 63 219l4-.2v.2h224a56 56 0 0 0 0-112Z"/></symbol><symbol id="SVGm5X8bb8t" viewBox="0 0 129 57"><path fill="url(#SVGRoVMrbxK)" stroke="#0a5ad4" stroke-miterlimit="10" d="M8.5 56.5a8 8 0 0 1-8-8v-40a8 8 0 0 1 16 0v40a8 8 0 0 1-8 8Z" opacity="0"><animateTransform id="SVGhAVx0d6J" additive="sum" attributeName="transform" begin="0s;SVGhAVx0d6J.end+.33s" dur=".67s" type="translate" values="0 -60; 0 60"/><animate id="SVG8O53WbyX" attributeName="opacity" begin="0s;SVG8O53WbyX.end+.33s" dur=".67s" keyTimes="0; .25; 1" values="0; 1; 0"/></path><path fill="url(#SVGmsJ3GbtL)" stroke="#0a5ad4" stroke-miterlimit="10" d="M64.5 56.5a8 8 0 0 1-8-8v-40a8 8 0 0 1 16 0v40a8 8 0 0 1-8 8Z" opacity="0"><animateTransform id="SVGVsltNb1z" additive="sum" attributeName="transform" begin=".33s;SVGVsltNb1z.end+.33s" dur=".67s" type="translate" values="0 -60; 0 60"/><animate id="SVGKwl6Ccgm" attributeName="opacity" begin=".33s;SVGKwl6Ccgm.end+.33s" dur=".67s" keyTimes="0; .25; 1" values="0; 1; 0"/></path><path fill="url(#SVGydFaQd9e)" stroke="#0a5ad4" stroke-miterlimit="10" d="M120.5 56.5a8 8 0 0 1-8-8v-40a8 8 0 0 1 16 0v40a8 8 0 0 1-8 8Z" opacity="0"><animateTransform id="SVGT7x9kcMI" additive="sum" attributeName="transform" begin="-.33s;SVGT7x9kcMI.end+.33s" dur=".67s" type="translate" values="0 -60; 0 60"/><animate id="SVG8Nt5ibQK" attributeName="opacity" begin="-.33s;SVG8Nt5ibQK.end+.33s" dur=".67s" keyTimes="0; .25; 1" values="0; 1; 0"/></path></symbol></defs><use width="350" height="222" href="#SVGuyKkudqm" transform="translate(81 145)"/><use width="129" height="57" href="#SVGm5X8bb8t" transform="translate(191.5 343.5)"/></svg>export function RainFillIcon(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width="1em"
height="1em"
viewBox="0 0 512 512"
fill="currentColor"
{...props}
dangerouslySetInnerHTML={{ __html: `<defs><linearGradient id="SVGALai0ckp" x1="99.5" x2="232.6" y1="30.7" y2="261.4" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#f3f7fe"/><stop offset=".5" stop-color="#f3f7fe"/><stop offset="1" stop-color="#deeafb"/></linearGradient><linearGradient id="SVGRoVMrbxK" x1="1381.3" x2="1399.5" y1="-1144.7" y2="-1097.4" gradientTransform="rotate(-9 8002.567 8233.063)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#0b65ed"/><stop offset=".5" stop-color="#0a5ad4"/><stop offset="1" stop-color="#0950bc"/></linearGradient><linearGradient id="SVGmsJ3GbtL" x1="1436.7" x2="1454.9" y1="-1137" y2="-1089.7" gradientTransform="rotate(-9 8009.537 8233.037)" href="#SVGRoVMrbxK"/><linearGradient id="SVGydFaQd9e" x1="1492.1" x2="1510.3" y1="-1129.3" y2="-1082.1" gradientTransform="rotate(-9 8016.566 8233.078)" href="#SVGRoVMrbxK"/><symbol id="SVGuyKkudqm" viewBox="0 0 350 222"><path fill="url(#SVGALai0ckp)" stroke="#e6effc" stroke-miterlimit="10" stroke-width="6" d="m291 107l-2.5.1A83.9 83.9 0 0 0 135.6 43A56 56 0 0 0 51 91a56.6 56.6 0 0 0 .8 9A60 60 0 0 0 63 219l4-.2v.2h224a56 56 0 0 0 0-112Z"/></symbol><symbol id="SVGm5X8bb8t" viewBox="0 0 129 57"><path fill="url(#SVGRoVMrbxK)" stroke="#0a5ad4" stroke-miterlimit="10" d="M8.5 56.5a8 8 0 0 1-8-8v-40a8 8 0 0 1 16 0v40a8 8 0 0 1-8 8Z" opacity="0"><animateTransform id="SVGhAVx0d6J" additive="sum" attributeName="transform" begin="0s;SVGhAVx0d6J.end+.33s" dur=".67s" type="translate" values="0 -60; 0 60"/><animate id="SVG8O53WbyX" attributeName="opacity" begin="0s;SVG8O53WbyX.end+.33s" dur=".67s" keyTimes="0; .25; 1" values="0; 1; 0"/></path><path fill="url(#SVGmsJ3GbtL)" stroke="#0a5ad4" stroke-miterlimit="10" d="M64.5 56.5a8 8 0 0 1-8-8v-40a8 8 0 0 1 16 0v40a8 8 0 0 1-8 8Z" opacity="0"><animateTransform id="SVGVsltNb1z" additive="sum" attributeName="transform" begin=".33s;SVGVsltNb1z.end+.33s" dur=".67s" type="translate" values="0 -60; 0 60"/><animate id="SVGKwl6Ccgm" attributeName="opacity" begin=".33s;SVGKwl6Ccgm.end+.33s" dur=".67s" keyTimes="0; .25; 1" values="0; 1; 0"/></path><path fill="url(#SVGydFaQd9e)" stroke="#0a5ad4" stroke-miterlimit="10" d="M120.5 56.5a8 8 0 0 1-8-8v-40a8 8 0 0 1 16 0v40a8 8 0 0 1-8 8Z" opacity="0"><animateTransform id="SVGT7x9kcMI" additive="sum" attributeName="transform" begin="-.33s;SVGT7x9kcMI.end+.33s" dur=".67s" type="translate" values="0 -60; 0 60"/><animate id="SVG8Nt5ibQK" attributeName="opacity" begin="-.33s;SVG8Nt5ibQK.end+.33s" dur=".67s" keyTimes="0; .25; 1" values="0; 1; 0"/></path></symbol></defs><use width="350" height="222" href="#SVGuyKkudqm" transform="translate(81 145)"/><use width="129" height="57" href="#SVGm5X8bb8t" transform="translate(191.5 343.5)"/>` }}
/>
);
}<template>
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512" fill="currentColor" v-html="body"></svg>
</template>
<script setup>
const body = `<defs><linearGradient id="SVGALai0ckp" x1="99.5" x2="232.6" y1="30.7" y2="261.4" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#f3f7fe"/><stop offset=".5" stop-color="#f3f7fe"/><stop offset="1" stop-color="#deeafb"/></linearGradient><linearGradient id="SVGRoVMrbxK" x1="1381.3" x2="1399.5" y1="-1144.7" y2="-1097.4" gradientTransform="rotate(-9 8002.567 8233.063)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#0b65ed"/><stop offset=".5" stop-color="#0a5ad4"/><stop offset="1" stop-color="#0950bc"/></linearGradient><linearGradient id="SVGmsJ3GbtL" x1="1436.7" x2="1454.9" y1="-1137" y2="-1089.7" gradientTransform="rotate(-9 8009.537 8233.037)" href="#SVGRoVMrbxK"/><linearGradient id="SVGydFaQd9e" x1="1492.1" x2="1510.3" y1="-1129.3" y2="-1082.1" gradientTransform="rotate(-9 8016.566 8233.078)" href="#SVGRoVMrbxK"/><symbol id="SVGuyKkudqm" viewBox="0 0 350 222"><path fill="url(#SVGALai0ckp)" stroke="#e6effc" stroke-miterlimit="10" stroke-width="6" d="m291 107l-2.5.1A83.9 83.9 0 0 0 135.6 43A56 56 0 0 0 51 91a56.6 56.6 0 0 0 .8 9A60 60 0 0 0 63 219l4-.2v.2h224a56 56 0 0 0 0-112Z"/></symbol><symbol id="SVGm5X8bb8t" viewBox="0 0 129 57"><path fill="url(#SVGRoVMrbxK)" stroke="#0a5ad4" stroke-miterlimit="10" d="M8.5 56.5a8 8 0 0 1-8-8v-40a8 8 0 0 1 16 0v40a8 8 0 0 1-8 8Z" opacity="0"><animateTransform id="SVGhAVx0d6J" additive="sum" attributeName="transform" begin="0s;SVGhAVx0d6J.end+.33s" dur=".67s" type="translate" values="0 -60; 0 60"/><animate id="SVG8O53WbyX" attributeName="opacity" begin="0s;SVG8O53WbyX.end+.33s" dur=".67s" keyTimes="0; .25; 1" values="0; 1; 0"/></path><path fill="url(#SVGmsJ3GbtL)" stroke="#0a5ad4" stroke-miterlimit="10" d="M64.5 56.5a8 8 0 0 1-8-8v-40a8 8 0 0 1 16 0v40a8 8 0 0 1-8 8Z" opacity="0"><animateTransform id="SVGVsltNb1z" additive="sum" attributeName="transform" begin=".33s;SVGVsltNb1z.end+.33s" dur=".67s" type="translate" values="0 -60; 0 60"/><animate id="SVGKwl6Ccgm" attributeName="opacity" begin=".33s;SVGKwl6Ccgm.end+.33s" dur=".67s" keyTimes="0; .25; 1" values="0; 1; 0"/></path><path fill="url(#SVGydFaQd9e)" stroke="#0a5ad4" stroke-miterlimit="10" d="M120.5 56.5a8 8 0 0 1-8-8v-40a8 8 0 0 1 16 0v40a8 8 0 0 1-8 8Z" opacity="0"><animateTransform id="SVGT7x9kcMI" additive="sum" attributeName="transform" begin="-.33s;SVGT7x9kcMI.end+.33s" dur=".67s" type="translate" values="0 -60; 0 60"/><animate id="SVG8Nt5ibQK" attributeName="opacity" begin="-.33s;SVG8Nt5ibQK.end+.33s" dur=".67s" keyTimes="0; .25; 1" values="0; 1; 0"/></path></symbol></defs><use width="350" height="222" href="#SVGuyKkudqm" transform="translate(81 145)"/><use width="129" height="57" href="#SVGm5X8bb8t" transform="translate(191.5 343.5)"/>`;
</script>.rain-fill {
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%20512%20512%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22SVGALai0ckp%22%20x1%3D%2299.5%22%20x2%3D%22232.6%22%20y1%3D%2230.7%22%20y2%3D%22261.4%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23f3f7fe%22%2F%3E%3Cstop%20offset%3D%22.5%22%20stop-color%3D%22%23f3f7fe%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23deeafb%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22SVGRoVMrbxK%22%20x1%3D%221381.3%22%20x2%3D%221399.5%22%20y1%3D%22-1144.7%22%20y2%3D%22-1097.4%22%20gradientTransform%3D%22rotate(-9%208002.567%208233.063)%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%230b65ed%22%2F%3E%3Cstop%20offset%3D%22.5%22%20stop-color%3D%22%230a5ad4%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%230950bc%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22SVGmsJ3GbtL%22%20x1%3D%221436.7%22%20x2%3D%221454.9%22%20y1%3D%22-1137%22%20y2%3D%22-1089.7%22%20gradientTransform%3D%22rotate(-9%208009.537%208233.037)%22%20href%3D%22%23SVGRoVMrbxK%22%2F%3E%3ClinearGradient%20id%3D%22SVGydFaQd9e%22%20x1%3D%221492.1%22%20x2%3D%221510.3%22%20y1%3D%22-1129.3%22%20y2%3D%22-1082.1%22%20gradientTransform%3D%22rotate(-9%208016.566%208233.078)%22%20href%3D%22%23SVGRoVMrbxK%22%2F%3E%3Csymbol%20id%3D%22SVGuyKkudqm%22%20viewBox%3D%220%200%20350%20222%22%3E%3Cpath%20fill%3D%22url(%23SVGALai0ckp)%22%20stroke%3D%22%23e6effc%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%226%22%20d%3D%22m291%20107l-2.5.1A83.9%2083.9%200%200%200%20135.6%2043A56%2056%200%200%200%2051%2091a56.6%2056.6%200%200%200%20.8%209A60%2060%200%200%200%2063%20219l4-.2v.2h224a56%2056%200%200%200%200-112Z%22%2F%3E%3C%2Fsymbol%3E%3Csymbol%20id%3D%22SVGm5X8bb8t%22%20viewBox%3D%220%200%20129%2057%22%3E%3Cpath%20fill%3D%22url(%23SVGRoVMrbxK)%22%20stroke%3D%22%230a5ad4%22%20stroke-miterlimit%3D%2210%22%20d%3D%22M8.5%2056.5a8%208%200%200%201-8-8v-40a8%208%200%200%201%2016%200v40a8%208%200%200%201-8%208Z%22%20opacity%3D%220%22%3E%3CanimateTransform%20id%3D%22SVGhAVx0d6J%22%20additive%3D%22sum%22%20attributeName%3D%22transform%22%20begin%3D%220s%3BSVGhAVx0d6J.end%2B.33s%22%20dur%3D%22.67s%22%20type%3D%22translate%22%20values%3D%220%20-60%3B%200%2060%22%2F%3E%3Canimate%20id%3D%22SVG8O53WbyX%22%20attributeName%3D%22opacity%22%20begin%3D%220s%3BSVG8O53WbyX.end%2B.33s%22%20dur%3D%22.67s%22%20keyTimes%3D%220%3B%20.25%3B%201%22%20values%3D%220%3B%201%3B%200%22%2F%3E%3C%2Fpath%3E%3Cpath%20fill%3D%22url(%23SVGmsJ3GbtL)%22%20stroke%3D%22%230a5ad4%22%20stroke-miterlimit%3D%2210%22%20d%3D%22M64.5%2056.5a8%208%200%200%201-8-8v-40a8%208%200%200%201%2016%200v40a8%208%200%200%201-8%208Z%22%20opacity%3D%220%22%3E%3CanimateTransform%20id%3D%22SVGVsltNb1z%22%20additive%3D%22sum%22%20attributeName%3D%22transform%22%20begin%3D%22.33s%3BSVGVsltNb1z.end%2B.33s%22%20dur%3D%22.67s%22%20type%3D%22translate%22%20values%3D%220%20-60%3B%200%2060%22%2F%3E%3Canimate%20id%3D%22SVGKwl6Ccgm%22%20attributeName%3D%22opacity%22%20begin%3D%22.33s%3BSVGKwl6Ccgm.end%2B.33s%22%20dur%3D%22.67s%22%20keyTimes%3D%220%3B%20.25%3B%201%22%20values%3D%220%3B%201%3B%200%22%2F%3E%3C%2Fpath%3E%3Cpath%20fill%3D%22url(%23SVGydFaQd9e)%22%20stroke%3D%22%230a5ad4%22%20stroke-miterlimit%3D%2210%22%20d%3D%22M120.5%2056.5a8%208%200%200%201-8-8v-40a8%208%200%200%201%2016%200v40a8%208%200%200%201-8%208Z%22%20opacity%3D%220%22%3E%3CanimateTransform%20id%3D%22SVGT7x9kcMI%22%20additive%3D%22sum%22%20attributeName%3D%22transform%22%20begin%3D%22-.33s%3BSVGT7x9kcMI.end%2B.33s%22%20dur%3D%22.67s%22%20type%3D%22translate%22%20values%3D%220%20-60%3B%200%2060%22%2F%3E%3Canimate%20id%3D%22SVG8Nt5ibQK%22%20attributeName%3D%22opacity%22%20begin%3D%22-.33s%3BSVG8Nt5ibQK.end%2B.33s%22%20dur%3D%22.67s%22%20keyTimes%3D%220%3B%20.25%3B%201%22%20values%3D%220%3B%201%3B%200%22%2F%3E%3C%2Fpath%3E%3C%2Fsymbol%3E%3C%2Fdefs%3E%3Cuse%20width%3D%22350%22%20height%3D%22222%22%20href%3D%22%23SVGuyKkudqm%22%20transform%3D%22translate(81%20145)%22%2F%3E%3Cuse%20width%3D%22129%22%20height%3D%2257%22%20href%3D%22%23SVGm5X8bb8t%22%20transform%3D%22translate(191.5%20343.5)%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%20512%20512%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22SVGALai0ckp%22%20x1%3D%2299.5%22%20x2%3D%22232.6%22%20y1%3D%2230.7%22%20y2%3D%22261.4%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23f3f7fe%22%2F%3E%3Cstop%20offset%3D%22.5%22%20stop-color%3D%22%23f3f7fe%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23deeafb%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22SVGRoVMrbxK%22%20x1%3D%221381.3%22%20x2%3D%221399.5%22%20y1%3D%22-1144.7%22%20y2%3D%22-1097.4%22%20gradientTransform%3D%22rotate(-9%208002.567%208233.063)%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%230b65ed%22%2F%3E%3Cstop%20offset%3D%22.5%22%20stop-color%3D%22%230a5ad4%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%230950bc%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22SVGmsJ3GbtL%22%20x1%3D%221436.7%22%20x2%3D%221454.9%22%20y1%3D%22-1137%22%20y2%3D%22-1089.7%22%20gradientTransform%3D%22rotate(-9%208009.537%208233.037)%22%20href%3D%22%23SVGRoVMrbxK%22%2F%3E%3ClinearGradient%20id%3D%22SVGydFaQd9e%22%20x1%3D%221492.1%22%20x2%3D%221510.3%22%20y1%3D%22-1129.3%22%20y2%3D%22-1082.1%22%20gradientTransform%3D%22rotate(-9%208016.566%208233.078)%22%20href%3D%22%23SVGRoVMrbxK%22%2F%3E%3Csymbol%20id%3D%22SVGuyKkudqm%22%20viewBox%3D%220%200%20350%20222%22%3E%3Cpath%20fill%3D%22url(%23SVGALai0ckp)%22%20stroke%3D%22%23e6effc%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%226%22%20d%3D%22m291%20107l-2.5.1A83.9%2083.9%200%200%200%20135.6%2043A56%2056%200%200%200%2051%2091a56.6%2056.6%200%200%200%20.8%209A60%2060%200%200%200%2063%20219l4-.2v.2h224a56%2056%200%200%200%200-112Z%22%2F%3E%3C%2Fsymbol%3E%3Csymbol%20id%3D%22SVGm5X8bb8t%22%20viewBox%3D%220%200%20129%2057%22%3E%3Cpath%20fill%3D%22url(%23SVGRoVMrbxK)%22%20stroke%3D%22%230a5ad4%22%20stroke-miterlimit%3D%2210%22%20d%3D%22M8.5%2056.5a8%208%200%200%201-8-8v-40a8%208%200%200%201%2016%200v40a8%208%200%200%201-8%208Z%22%20opacity%3D%220%22%3E%3CanimateTransform%20id%3D%22SVGhAVx0d6J%22%20additive%3D%22sum%22%20attributeName%3D%22transform%22%20begin%3D%220s%3BSVGhAVx0d6J.end%2B.33s%22%20dur%3D%22.67s%22%20type%3D%22translate%22%20values%3D%220%20-60%3B%200%2060%22%2F%3E%3Canimate%20id%3D%22SVG8O53WbyX%22%20attributeName%3D%22opacity%22%20begin%3D%220s%3BSVG8O53WbyX.end%2B.33s%22%20dur%3D%22.67s%22%20keyTimes%3D%220%3B%20.25%3B%201%22%20values%3D%220%3B%201%3B%200%22%2F%3E%3C%2Fpath%3E%3Cpath%20fill%3D%22url(%23SVGmsJ3GbtL)%22%20stroke%3D%22%230a5ad4%22%20stroke-miterlimit%3D%2210%22%20d%3D%22M64.5%2056.5a8%208%200%200%201-8-8v-40a8%208%200%200%201%2016%200v40a8%208%200%200%201-8%208Z%22%20opacity%3D%220%22%3E%3CanimateTransform%20id%3D%22SVGVsltNb1z%22%20additive%3D%22sum%22%20attributeName%3D%22transform%22%20begin%3D%22.33s%3BSVGVsltNb1z.end%2B.33s%22%20dur%3D%22.67s%22%20type%3D%22translate%22%20values%3D%220%20-60%3B%200%2060%22%2F%3E%3Canimate%20id%3D%22SVGKwl6Ccgm%22%20attributeName%3D%22opacity%22%20begin%3D%22.33s%3BSVGKwl6Ccgm.end%2B.33s%22%20dur%3D%22.67s%22%20keyTimes%3D%220%3B%20.25%3B%201%22%20values%3D%220%3B%201%3B%200%22%2F%3E%3C%2Fpath%3E%3Cpath%20fill%3D%22url(%23SVGydFaQd9e)%22%20stroke%3D%22%230a5ad4%22%20stroke-miterlimit%3D%2210%22%20d%3D%22M120.5%2056.5a8%208%200%200%201-8-8v-40a8%208%200%200%201%2016%200v40a8%208%200%200%201-8%208Z%22%20opacity%3D%220%22%3E%3CanimateTransform%20id%3D%22SVGT7x9kcMI%22%20additive%3D%22sum%22%20attributeName%3D%22transform%22%20begin%3D%22-.33s%3BSVGT7x9kcMI.end%2B.33s%22%20dur%3D%22.67s%22%20type%3D%22translate%22%20values%3D%220%20-60%3B%200%2060%22%2F%3E%3Canimate%20id%3D%22SVG8Nt5ibQK%22%20attributeName%3D%22opacity%22%20begin%3D%22-.33s%3BSVG8Nt5ibQK.end%2B.33s%22%20dur%3D%22.67s%22%20keyTimes%3D%220%3B%20.25%3B%201%22%20values%3D%220%3B%201%3B%200%22%2F%3E%3C%2Fpath%3E%3C%2Fsymbol%3E%3C%2Fdefs%3E%3Cuse%20width%3D%22350%22%20height%3D%22222%22%20href%3D%22%23SVGuyKkudqm%22%20transform%3D%22translate(81%20145)%22%2F%3E%3Cuse%20width%3D%22129%22%20height%3D%2257%22%20href%3D%22%23SVGm5X8bb8t%22%20transform%3D%22translate(191.5%20343.5)%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}给 rain-fill 加一点动效
单文件 CSS 即可播放,无需任何依赖;描画动效仅对描边类图标生效。
呼吸
透明度往复渐变,适合状态提示与在线指示。
.icon-rain-fill {
animation: icon-breathe 1.8s ease-in-out infinite;
}
@keyframes icon-breathe {
0%, 100% { opacity: 1; }
50% { opacity: 0.35; }
}旋转
匀速循环旋转,适合加载中场景。
.icon-rain-fill {
animation: icon-spin 1.6s linear infinite;
}
@keyframes icon-spin {
to { transform: rotate(360deg); }
}描画
线条从无到有依次绘出,适合线性图标与首屏引导。
.icon-rain-fill path {
stroke-dasharray: 120;
animation: icon-draw 1.2s ease forwards;
}
@keyframes icon-draw {
from { stroke-dashoffset: 120; }
to { stroke-dashoffset: 0; }
}SVG 健康报告
对源文件的客观技术指标,供工程侧评估引用方式。
文件体积
2.73 KB
2,797 字节
viewBox
0 0 512 512
矢量坐标系
图元总数
4
<path> ×4
风格
多色填充
描边可随字号加粗
同时含 width/height 与 viewBox:可以只保留 viewBox,让图标跟随容器自适应缩放。 文件体积 2.73 KB(2,797 字节),图元 4 个,风格为多色填充。
常见问题
关于 rain-fill 图标的下载、商用与改色。
rain-fill 图标是什么?▾
它是 Meteocons(meteocons)开源图标集中的 rain-fill 图标,多色填充,viewBox 为 0 0 512 512,文件仅 2.73 KB,矢量格式可无损缩放到任意尺寸。
如何下载 rain-fill 图标?▾
点击「下载与导出」中的 SVG 源文件按钮保存矢量文件;也可以按 512 / 256 / 128 / 64 / 32 / 16px 预设导出 PNG,或在输入框填 16~1024 之间的任意尺寸。需要 iOS、Android 全套尺寸时,用素材包生成器一键打包。
rain-fill 图标可以商用吗?▾
该图标采用 MIT(MIT) 开源协议,通常允许在遵守协议的前提下免费使用,常见要求是保留作者版权声明。商用前建议阅读协议原文确认。
如何修改 rain-fill 图标的颜色?▾
在「预览与场景」的色板中切换颜色,三底色与全部场景会实时跟随;点击任一相近图标可打开预览弹层,复制对应颜色的 SVG 源码或 PNG。也可以复制 SVG 源码后自行修改 fill 值。