对勾 SVG 图标
withicons-pastelcheck
来自 with icons Pastel 开源图标集,矢量 SVG 可无损缩放到任意尺寸,支持在线改色、复制 React/Vue/HTML 代码。
- 图标 ID
- withicons-pastel:check
- 中文名
- 对勾
- 集合规模
- 1,000 枚
- 基础网格
- 24px
- 色彩
- 多色
- 开源协议
- MIT
- 作者
- Evergrow
withicons-pastelcheck
来自 with icons Pastel 开源图标集,矢量 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 24 24"><path fill="#6ec8a4" fill-opacity=".18" d="m19.2 5.3l-.5.2l-.6.4l-8.6 9.4L6 11.8l-.4-.2l-.6-.2l-.9.1l-.6.3l-.3.3l-.4.6l-.1.5v.4l.2.7l.3.4l5.1 5.1l.6.3l.4.1h.7l.5-.2l.6-.4L21.3 8.3l.2-.4l.1-.7l-.1-.5l-.3-.6l-.3-.4l-.6-.3l-.4-.1z" class="wm-shadow"/><path fill="#abe6cd" stroke="#8dd7b9" stroke-linejoin="round" stroke-width=".6" d="m19.1 4.79l-.5.18l-.3.18l-.3.27l-8.6 9.41l-3.5-3.49l-.4-.26l-.6-.19l-.5-.02l-.4.09l-.6.31l-.34.33l-.33.6l-.11.5l.01.4l.22.7l.28.4l5.07 5.07l.6.35l.4.11l.7-.02l.5-.18l.3-.18l.3-.27l9.9-10.89l.3-.39l.19-.4l.11-.7l-.08-.5l-.28-.6l-.34-.37l-.6-.35l-.4-.11z" class="wm-k"/><path fill="#6ec8a4" fill-opacity=".34" d="m21.4 6.1l-.4.7l-10 11l-.7.5l-.7.1h-.4l-.4-.1l-.6-.3l-5.1-5.1l-.4-.6l-.1.7l.1.5l.4.7l5.1 5.1l.6.3l.4.1h.4l.7-.1l.7-.5l10-11l.3-.4l.2-.6v-.5z" class="wm-k"/><path fill="#dff6ec" fill-opacity=".34" d="m19.3 5.8l-.3.1l-.4.3l-9.1 10h-.1l-4.1-4.1L5 12l-.5-.1l-.4.1l-.2.2l-.3.5v.3l.1.3l.6.6h.5l.5.2l4.1 4.1h.1l9.1-10l.6-.4h.7l.3-.3l.3-.6v-.3l-.1-.3l-.4-.4l-.3-.1z" class="wm-k"/><path fill="#dff6ec" fill-opacity=".2" d="m19.3 5.8l-.3.1l-.4.3l-9.1 10h-.1l-4.1-4.1L5 12l-.5-.1l-.5.2l-.2.2l-.2.4l.1.5l.1.1l.3-.3l.5-.1h.3l.3.2l4.2 4.1h.1l9.2-10.1l.3-.2l.4-.1h.4l.5.4l.1-.1l.1-.5l-.3-.5l-.4-.3z" class="wm-k"/><path fill="#fff" fill-opacity=".5" d="m4.2 11.69l-.37.21l-.26.3l-.15.3l-.05.4l.09.4l.06.1l.18.1l.2-.05l.12-.15l-.02-.6l.1-.2l.2-.19l.3-.08l.2.03l.4.17l.2-.08l.09-.15l-.02-.2l-.07-.09l-.4-.22l-.4-.07z" class="wm-shine"/></svg>export function CheckIcon(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width="1em"
height="1em"
viewBox="0 0 24 24"
fill="currentColor"
{...props}
dangerouslySetInnerHTML={{ __html: `<path fill="#6ec8a4" fill-opacity=".18" d="m19.2 5.3l-.5.2l-.6.4l-8.6 9.4L6 11.8l-.4-.2l-.6-.2l-.9.1l-.6.3l-.3.3l-.4.6l-.1.5v.4l.2.7l.3.4l5.1 5.1l.6.3l.4.1h.7l.5-.2l.6-.4L21.3 8.3l.2-.4l.1-.7l-.1-.5l-.3-.6l-.3-.4l-.6-.3l-.4-.1z" class="wm-shadow"/><path fill="#abe6cd" stroke="#8dd7b9" stroke-linejoin="round" stroke-width=".6" d="m19.1 4.79l-.5.18l-.3.18l-.3.27l-8.6 9.41l-3.5-3.49l-.4-.26l-.6-.19l-.5-.02l-.4.09l-.6.31l-.34.33l-.33.6l-.11.5l.01.4l.22.7l.28.4l5.07 5.07l.6.35l.4.11l.7-.02l.5-.18l.3-.18l.3-.27l9.9-10.89l.3-.39l.19-.4l.11-.7l-.08-.5l-.28-.6l-.34-.37l-.6-.35l-.4-.11z" class="wm-k"/><path fill="#6ec8a4" fill-opacity=".34" d="m21.4 6.1l-.4.7l-10 11l-.7.5l-.7.1h-.4l-.4-.1l-.6-.3l-5.1-5.1l-.4-.6l-.1.7l.1.5l.4.7l5.1 5.1l.6.3l.4.1h.4l.7-.1l.7-.5l10-11l.3-.4l.2-.6v-.5z" class="wm-k"/><path fill="#dff6ec" fill-opacity=".34" d="m19.3 5.8l-.3.1l-.4.3l-9.1 10h-.1l-4.1-4.1L5 12l-.5-.1l-.4.1l-.2.2l-.3.5v.3l.1.3l.6.6h.5l.5.2l4.1 4.1h.1l9.1-10l.6-.4h.7l.3-.3l.3-.6v-.3l-.1-.3l-.4-.4l-.3-.1z" class="wm-k"/><path fill="#dff6ec" fill-opacity=".2" d="m19.3 5.8l-.3.1l-.4.3l-9.1 10h-.1l-4.1-4.1L5 12l-.5-.1l-.5.2l-.2.2l-.2.4l.1.5l.1.1l.3-.3l.5-.1h.3l.3.2l4.2 4.1h.1l9.2-10.1l.3-.2l.4-.1h.4l.5.4l.1-.1l.1-.5l-.3-.5l-.4-.3z" class="wm-k"/><path fill="#fff" fill-opacity=".5" d="m4.2 11.69l-.37.21l-.26.3l-.15.3l-.05.4l.09.4l.06.1l.18.1l.2-.05l.12-.15l-.02-.6l.1-.2l.2-.19l.3-.08l.2.03l.4.17l.2-.08l.09-.15l-.02-.2l-.07-.09l-.4-.22l-.4-.07z" class="wm-shine"/>` }}
/>
);
}<template>
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" fill="currentColor" v-html="body"></svg>
</template>
<script setup>
const body = `<path fill="#6ec8a4" fill-opacity=".18" d="m19.2 5.3l-.5.2l-.6.4l-8.6 9.4L6 11.8l-.4-.2l-.6-.2l-.9.1l-.6.3l-.3.3l-.4.6l-.1.5v.4l.2.7l.3.4l5.1 5.1l.6.3l.4.1h.7l.5-.2l.6-.4L21.3 8.3l.2-.4l.1-.7l-.1-.5l-.3-.6l-.3-.4l-.6-.3l-.4-.1z" class="wm-shadow"/><path fill="#abe6cd" stroke="#8dd7b9" stroke-linejoin="round" stroke-width=".6" d="m19.1 4.79l-.5.18l-.3.18l-.3.27l-8.6 9.41l-3.5-3.49l-.4-.26l-.6-.19l-.5-.02l-.4.09l-.6.31l-.34.33l-.33.6l-.11.5l.01.4l.22.7l.28.4l5.07 5.07l.6.35l.4.11l.7-.02l.5-.18l.3-.18l.3-.27l9.9-10.89l.3-.39l.19-.4l.11-.7l-.08-.5l-.28-.6l-.34-.37l-.6-.35l-.4-.11z" class="wm-k"/><path fill="#6ec8a4" fill-opacity=".34" d="m21.4 6.1l-.4.7l-10 11l-.7.5l-.7.1h-.4l-.4-.1l-.6-.3l-5.1-5.1l-.4-.6l-.1.7l.1.5l.4.7l5.1 5.1l.6.3l.4.1h.4l.7-.1l.7-.5l10-11l.3-.4l.2-.6v-.5z" class="wm-k"/><path fill="#dff6ec" fill-opacity=".34" d="m19.3 5.8l-.3.1l-.4.3l-9.1 10h-.1l-4.1-4.1L5 12l-.5-.1l-.4.1l-.2.2l-.3.5v.3l.1.3l.6.6h.5l.5.2l4.1 4.1h.1l9.1-10l.6-.4h.7l.3-.3l.3-.6v-.3l-.1-.3l-.4-.4l-.3-.1z" class="wm-k"/><path fill="#dff6ec" fill-opacity=".2" d="m19.3 5.8l-.3.1l-.4.3l-9.1 10h-.1l-4.1-4.1L5 12l-.5-.1l-.5.2l-.2.2l-.2.4l.1.5l.1.1l.3-.3l.5-.1h.3l.3.2l4.2 4.1h.1l9.2-10.1l.3-.2l.4-.1h.4l.5.4l.1-.1l.1-.5l-.3-.5l-.4-.3z" class="wm-k"/><path fill="#fff" fill-opacity=".5" d="m4.2 11.69l-.37.21l-.26.3l-.15.3l-.05.4l.09.4l.06.1l.18.1l.2-.05l.12-.15l-.02-.6l.1-.2l.2-.19l.3-.08l.2.03l.4.17l.2-.08l.09-.15l-.02-.2l-.07-.09l-.4-.22l-.4-.07z" class="wm-shine"/>`;
</script>.check {
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%2024%2024%22%3E%3Cpath%20fill%3D%22%236ec8a4%22%20fill-opacity%3D%22.18%22%20d%3D%22m19.2%205.3l-.5.2l-.6.4l-8.6%209.4L6%2011.8l-.4-.2l-.6-.2l-.9.1l-.6.3l-.3.3l-.4.6l-.1.5v.4l.2.7l.3.4l5.1%205.1l.6.3l.4.1h.7l.5-.2l.6-.4L21.3%208.3l.2-.4l.1-.7l-.1-.5l-.3-.6l-.3-.4l-.6-.3l-.4-.1z%22%20class%3D%22wm-shadow%22%2F%3E%3Cpath%20fill%3D%22%23abe6cd%22%20stroke%3D%22%238dd7b9%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%22.6%22%20d%3D%22m19.1%204.79l-.5.18l-.3.18l-.3.27l-8.6%209.41l-3.5-3.49l-.4-.26l-.6-.19l-.5-.02l-.4.09l-.6.31l-.34.33l-.33.6l-.11.5l.01.4l.22.7l.28.4l5.07%205.07l.6.35l.4.11l.7-.02l.5-.18l.3-.18l.3-.27l9.9-10.89l.3-.39l.19-.4l.11-.7l-.08-.5l-.28-.6l-.34-.37l-.6-.35l-.4-.11z%22%20class%3D%22wm-k%22%2F%3E%3Cpath%20fill%3D%22%236ec8a4%22%20fill-opacity%3D%22.34%22%20d%3D%22m21.4%206.1l-.4.7l-10%2011l-.7.5l-.7.1h-.4l-.4-.1l-.6-.3l-5.1-5.1l-.4-.6l-.1.7l.1.5l.4.7l5.1%205.1l.6.3l.4.1h.4l.7-.1l.7-.5l10-11l.3-.4l.2-.6v-.5z%22%20class%3D%22wm-k%22%2F%3E%3Cpath%20fill%3D%22%23dff6ec%22%20fill-opacity%3D%22.34%22%20d%3D%22m19.3%205.8l-.3.1l-.4.3l-9.1%2010h-.1l-4.1-4.1L5%2012l-.5-.1l-.4.1l-.2.2l-.3.5v.3l.1.3l.6.6h.5l.5.2l4.1%204.1h.1l9.1-10l.6-.4h.7l.3-.3l.3-.6v-.3l-.1-.3l-.4-.4l-.3-.1z%22%20class%3D%22wm-k%22%2F%3E%3Cpath%20fill%3D%22%23dff6ec%22%20fill-opacity%3D%22.2%22%20d%3D%22m19.3%205.8l-.3.1l-.4.3l-9.1%2010h-.1l-4.1-4.1L5%2012l-.5-.1l-.5.2l-.2.2l-.2.4l.1.5l.1.1l.3-.3l.5-.1h.3l.3.2l4.2%204.1h.1l9.2-10.1l.3-.2l.4-.1h.4l.5.4l.1-.1l.1-.5l-.3-.5l-.4-.3z%22%20class%3D%22wm-k%22%2F%3E%3Cpath%20fill%3D%22%23fff%22%20fill-opacity%3D%22.5%22%20d%3D%22m4.2%2011.69l-.37.21l-.26.3l-.15.3l-.05.4l.09.4l.06.1l.18.1l.2-.05l.12-.15l-.02-.6l.1-.2l.2-.19l.3-.08l.2.03l.4.17l.2-.08l.09-.15l-.02-.2l-.07-.09l-.4-.22l-.4-.07z%22%20class%3D%22wm-shine%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%2024%2024%22%3E%3Cpath%20fill%3D%22%236ec8a4%22%20fill-opacity%3D%22.18%22%20d%3D%22m19.2%205.3l-.5.2l-.6.4l-8.6%209.4L6%2011.8l-.4-.2l-.6-.2l-.9.1l-.6.3l-.3.3l-.4.6l-.1.5v.4l.2.7l.3.4l5.1%205.1l.6.3l.4.1h.7l.5-.2l.6-.4L21.3%208.3l.2-.4l.1-.7l-.1-.5l-.3-.6l-.3-.4l-.6-.3l-.4-.1z%22%20class%3D%22wm-shadow%22%2F%3E%3Cpath%20fill%3D%22%23abe6cd%22%20stroke%3D%22%238dd7b9%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%22.6%22%20d%3D%22m19.1%204.79l-.5.18l-.3.18l-.3.27l-8.6%209.41l-3.5-3.49l-.4-.26l-.6-.19l-.5-.02l-.4.09l-.6.31l-.34.33l-.33.6l-.11.5l.01.4l.22.7l.28.4l5.07%205.07l.6.35l.4.11l.7-.02l.5-.18l.3-.18l.3-.27l9.9-10.89l.3-.39l.19-.4l.11-.7l-.08-.5l-.28-.6l-.34-.37l-.6-.35l-.4-.11z%22%20class%3D%22wm-k%22%2F%3E%3Cpath%20fill%3D%22%236ec8a4%22%20fill-opacity%3D%22.34%22%20d%3D%22m21.4%206.1l-.4.7l-10%2011l-.7.5l-.7.1h-.4l-.4-.1l-.6-.3l-5.1-5.1l-.4-.6l-.1.7l.1.5l.4.7l5.1%205.1l.6.3l.4.1h.4l.7-.1l.7-.5l10-11l.3-.4l.2-.6v-.5z%22%20class%3D%22wm-k%22%2F%3E%3Cpath%20fill%3D%22%23dff6ec%22%20fill-opacity%3D%22.34%22%20d%3D%22m19.3%205.8l-.3.1l-.4.3l-9.1%2010h-.1l-4.1-4.1L5%2012l-.5-.1l-.4.1l-.2.2l-.3.5v.3l.1.3l.6.6h.5l.5.2l4.1%204.1h.1l9.1-10l.6-.4h.7l.3-.3l.3-.6v-.3l-.1-.3l-.4-.4l-.3-.1z%22%20class%3D%22wm-k%22%2F%3E%3Cpath%20fill%3D%22%23dff6ec%22%20fill-opacity%3D%22.2%22%20d%3D%22m19.3%205.8l-.3.1l-.4.3l-9.1%2010h-.1l-4.1-4.1L5%2012l-.5-.1l-.5.2l-.2.2l-.2.4l.1.5l.1.1l.3-.3l.5-.1h.3l.3.2l4.2%204.1h.1l9.2-10.1l.3-.2l.4-.1h.4l.5.4l.1-.1l.1-.5l-.3-.5l-.4-.3z%22%20class%3D%22wm-k%22%2F%3E%3Cpath%20fill%3D%22%23fff%22%20fill-opacity%3D%22.5%22%20d%3D%22m4.2%2011.69l-.37.21l-.26.3l-.15.3l-.05.4l.09.4l.06.1l.18.1l.2-.05l.12-.15l-.02-.6l.1-.2l.2-.19l.3-.08l.2.03l.4.17l.2-.08l.09-.15l-.02-.2l-.07-.09l-.4-.22l-.4-.07z%22%20class%3D%22wm-shine%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}单文件 CSS 即可播放,无需任何依赖;描画动效仅对描边类图标生效。
透明度往复渐变,适合状态提示与在线指示。
.icon-check {
animation: icon-breathe 1.8s ease-in-out infinite;
}
@keyframes icon-breathe {
0%, 100% { opacity: 1; }
50% { opacity: 0.35; }
}匀速循环旋转,适合加载中场景。
.icon-check {
animation: icon-spin 1.6s linear infinite;
}
@keyframes icon-spin {
to { transform: rotate(360deg); }
}线条从无到有依次绘出,适合线性图标与首屏引导。
.icon-check path {
stroke-dasharray: 120;
animation: icon-draw 1.2s ease forwards;
}
@keyframes icon-draw {
from { stroke-dashoffset: 120; }
to { stroke-dashoffset: 0; }
}对源文件的客观技术指标,供工程侧评估引用方式。
文件体积
1.52 KB
1,553 字节
viewBox
0 0 24 24
矢量坐标系
图元总数
6
<path> ×6
风格
多色填充
描边可随字号加粗
同时含 width/height 与 viewBox:可以只保留 viewBox,让图标跟随容器自适应缩放。 文件体积 1.52 KB(1,553 字节),图元 6 个,风格为多色填充。
关于 对勾 图标的下载、商用与改色。
它是 with icons Pastel(withicons-pastel)开源图标集中的 check 图标,多色填充,viewBox 为 0 0 24 24,文件仅 1.52 KB,矢量格式可无损缩放到任意尺寸。
点击「下载与导出」中的 SVG 源文件按钮保存矢量文件;也可以按 512 / 256 / 128 / 64 / 32 / 16px 预设导出 PNG,或在输入框填 16~1024 之间的任意尺寸。需要 iOS、Android 全套尺寸时,用素材包生成器一键打包。
该图标采用 MIT(MIT) 开源协议,通常允许在遵守协议的前提下免费使用,常见要求是保留作者版权声明。商用前建议阅读协议原文确认。
在「预览与场景」的色板中切换颜色,三底色与全部场景会实时跟随;点击任一相近图标可打开预览弹层,复制对应颜色的 SVG 源码或 PNG。也可以复制 SVG 源码后自行修改 fill 值。