scratch SVG 图标
simple-iconsscratch
来自 Simple Icons 开源图标集,矢量 SVG 可无损缩放到任意尺寸,支持在线改色、复制 React/Vue/HTML 代码。
- 图标 ID
- simple-icons:scratch
- 中文名
- —
- 所属集合
- Simple Icons
- 集合规模
- 3,467 枚
- 基础网格
- 24px
- 色彩
- 单色(可改色)
- 开源协议
- CC0-1.0
- 作者
- Simple Icons Collaborators
simple-iconsscratch
来自 Simple Icons 开源图标集,矢量 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="currentColor" d="M11.406 11.312c-.78-.123-1.198-.654-.99-2.295l.023-.198c.175-1.426.321-1.743.996-1.706c.198.013.426.14.654.33c.211.247.68.568.945 1.204c.19.466.254.77.281 1.098l.042.402v-.002a.68.68 0 0 0 1.342-.007c.008-.044.176-4.365.176-4.436c0-.38-.302-.69-.68-.696a.685.685 0 0 0-.682.688c0 .009-.001.605-.014 1.206c-.536-.592-1.223-1.123-1.994-1.17c-2.058-.11-2.283 1.811-2.419 2.918l-.02.196c-.278 2.189.441 3.569 2.13 3.837c1.838.293 3.063.72 3.074 1.868c.007.446-.224.903-.627 1.254a2.16 2.16 0 0 1-1.749.507a3 3 0 0 1-.539-.141c-.24-.136-.847-.51-1.154-.942c-.26-.364-.35-.937-.378-1.3c.004-.163.005-.27.005-.283a.69.69 0 0 0-.669-.703a.69.69 0 0 0-.696.682c0 .013-.017 1.367-.066 2.183c-.07 1.313 0 2.426 0 2.474c.028.382.35.67.727.644a.68.68 0 0 0 .635-.733c0-.006-.033-.545-.029-1.29a5.2 5.2 0 0 0 1.938.773a3.45 3.45 0 0 0 2.856-.82c.713-.619 1.122-1.464 1.11-2.32c-.024-2.555-2.865-3.004-4.228-3.222M14.174 0a5.5 5.5 0 0 0-2.724.723h-.112c-2.637 0-4.937 1.392-6.15 3.728c-.728 1.393-.9 2.75-.999 3.579c-.012.089-.018.17-.028.262c-.12.974-.123 1.904-.01 2.772a5.8 5.8 0 0 0-.625 2.529v.016a59 59 0 0 1-.057 1.95a30 30 0 0 0-.008 2.94l.013.209C3.698 21.676 6.159 24 9.083 24a5.5 5.5 0 0 0 3.463-1.21a8.36 8.36 0 0 0 5.195-2.08c1.826-1.587 2.859-3.845 2.83-6.19c-.013-1.362-.346-2.638-.978-3.763c.117-1.273.221-4.996.221-5.03c0-3.103-2.484-5.67-5.539-5.727zm.056 2.675c1.642.03 2.978 1.412 2.978 3.081c0 .038-.145 4.497-.215 4.883a3.2 3.2 0 0 1-.203.69c.756.89 1.165 2 1.175 3.256c.021 1.555-.681 3.076-1.926 4.16a5.76 5.76 0 0 1-3.8 1.444a6 6 0 0 1-.718-.048a3 3 0 0 1-.172.215a2.97 2.97 0 0 1-2.264 1.038c-1.573 0-2.897-1.255-3.013-2.856l-.008-.122a27 27 0 0 1 .005-2.662c.039-.679.06-1.831.062-2.08a3.12 3.12 0 0 1 .783-2.025c-.237-.835-.312-1.836-.167-3.02l.024-.212c.083-.695.208-1.72.72-2.7c.765-1.473 2.168-2.318 3.848-2.318a4.6 4.6 0 0 1 .824.07c.546-.5 1.27-.81 2.067-.794"/></svg>export function ScratchIcon(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="currentColor" d="M11.406 11.312c-.78-.123-1.198-.654-.99-2.295l.023-.198c.175-1.426.321-1.743.996-1.706c.198.013.426.14.654.33c.211.247.68.568.945 1.204c.19.466.254.77.281 1.098l.042.402v-.002a.68.68 0 0 0 1.342-.007c.008-.044.176-4.365.176-4.436c0-.38-.302-.69-.68-.696a.685.685 0 0 0-.682.688c0 .009-.001.605-.014 1.206c-.536-.592-1.223-1.123-1.994-1.17c-2.058-.11-2.283 1.811-2.419 2.918l-.02.196c-.278 2.189.441 3.569 2.13 3.837c1.838.293 3.063.72 3.074 1.868c.007.446-.224.903-.627 1.254a2.16 2.16 0 0 1-1.749.507a3 3 0 0 1-.539-.141c-.24-.136-.847-.51-1.154-.942c-.26-.364-.35-.937-.378-1.3c.004-.163.005-.27.005-.283a.69.69 0 0 0-.669-.703a.69.69 0 0 0-.696.682c0 .013-.017 1.367-.066 2.183c-.07 1.313 0 2.426 0 2.474c.028.382.35.67.727.644a.68.68 0 0 0 .635-.733c0-.006-.033-.545-.029-1.29a5.2 5.2 0 0 0 1.938.773a3.45 3.45 0 0 0 2.856-.82c.713-.619 1.122-1.464 1.11-2.32c-.024-2.555-2.865-3.004-4.228-3.222M14.174 0a5.5 5.5 0 0 0-2.724.723h-.112c-2.637 0-4.937 1.392-6.15 3.728c-.728 1.393-.9 2.75-.999 3.579c-.012.089-.018.17-.028.262c-.12.974-.123 1.904-.01 2.772a5.8 5.8 0 0 0-.625 2.529v.016a59 59 0 0 1-.057 1.95a30 30 0 0 0-.008 2.94l.013.209C3.698 21.676 6.159 24 9.083 24a5.5 5.5 0 0 0 3.463-1.21a8.36 8.36 0 0 0 5.195-2.08c1.826-1.587 2.859-3.845 2.83-6.19c-.013-1.362-.346-2.638-.978-3.763c.117-1.273.221-4.996.221-5.03c0-3.103-2.484-5.67-5.539-5.727zm.056 2.675c1.642.03 2.978 1.412 2.978 3.081c0 .038-.145 4.497-.215 4.883a3.2 3.2 0 0 1-.203.69c.756.89 1.165 2 1.175 3.256c.021 1.555-.681 3.076-1.926 4.16a5.76 5.76 0 0 1-3.8 1.444a6 6 0 0 1-.718-.048a3 3 0 0 1-.172.215a2.97 2.97 0 0 1-2.264 1.038c-1.573 0-2.897-1.255-3.013-2.856l-.008-.122a27 27 0 0 1 .005-2.662c.039-.679.06-1.831.062-2.08a3.12 3.12 0 0 1 .783-2.025c-.237-.835-.312-1.836-.167-3.02l.024-.212c.083-.695.208-1.72.72-2.7c.765-1.473 2.168-2.318 3.848-2.318a4.6 4.6 0 0 1 .824.07c.546-.5 1.27-.81 2.067-.794"/>` }}
/>
);
}<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="currentColor" d="M11.406 11.312c-.78-.123-1.198-.654-.99-2.295l.023-.198c.175-1.426.321-1.743.996-1.706c.198.013.426.14.654.33c.211.247.68.568.945 1.204c.19.466.254.77.281 1.098l.042.402v-.002a.68.68 0 0 0 1.342-.007c.008-.044.176-4.365.176-4.436c0-.38-.302-.69-.68-.696a.685.685 0 0 0-.682.688c0 .009-.001.605-.014 1.206c-.536-.592-1.223-1.123-1.994-1.17c-2.058-.11-2.283 1.811-2.419 2.918l-.02.196c-.278 2.189.441 3.569 2.13 3.837c1.838.293 3.063.72 3.074 1.868c.007.446-.224.903-.627 1.254a2.16 2.16 0 0 1-1.749.507a3 3 0 0 1-.539-.141c-.24-.136-.847-.51-1.154-.942c-.26-.364-.35-.937-.378-1.3c.004-.163.005-.27.005-.283a.69.69 0 0 0-.669-.703a.69.69 0 0 0-.696.682c0 .013-.017 1.367-.066 2.183c-.07 1.313 0 2.426 0 2.474c.028.382.35.67.727.644a.68.68 0 0 0 .635-.733c0-.006-.033-.545-.029-1.29a5.2 5.2 0 0 0 1.938.773a3.45 3.45 0 0 0 2.856-.82c.713-.619 1.122-1.464 1.11-2.32c-.024-2.555-2.865-3.004-4.228-3.222M14.174 0a5.5 5.5 0 0 0-2.724.723h-.112c-2.637 0-4.937 1.392-6.15 3.728c-.728 1.393-.9 2.75-.999 3.579c-.012.089-.018.17-.028.262c-.12.974-.123 1.904-.01 2.772a5.8 5.8 0 0 0-.625 2.529v.016a59 59 0 0 1-.057 1.95a30 30 0 0 0-.008 2.94l.013.209C3.698 21.676 6.159 24 9.083 24a5.5 5.5 0 0 0 3.463-1.21a8.36 8.36 0 0 0 5.195-2.08c1.826-1.587 2.859-3.845 2.83-6.19c-.013-1.362-.346-2.638-.978-3.763c.117-1.273.221-4.996.221-5.03c0-3.103-2.484-5.67-5.539-5.727zm.056 2.675c1.642.03 2.978 1.412 2.978 3.081c0 .038-.145 4.497-.215 4.883a3.2 3.2 0 0 1-.203.69c.756.89 1.165 2 1.175 3.256c.021 1.555-.681 3.076-1.926 4.16a5.76 5.76 0 0 1-3.8 1.444a6 6 0 0 1-.718-.048a3 3 0 0 1-.172.215a2.97 2.97 0 0 1-2.264 1.038c-1.573 0-2.897-1.255-3.013-2.856l-.008-.122a27 27 0 0 1 .005-2.662c.039-.679.06-1.831.062-2.08a3.12 3.12 0 0 1 .783-2.025c-.237-.835-.312-1.836-.167-3.02l.024-.212c.083-.695.208-1.72.72-2.7c.765-1.473 2.168-2.318 3.848-2.318a4.6 4.6 0 0 1 .824.07c.546-.5 1.27-.81 2.067-.794"/>`;
</script>.scratch {
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%22currentColor%22%20d%3D%22M11.406%2011.312c-.78-.123-1.198-.654-.99-2.295l.023-.198c.175-1.426.321-1.743.996-1.706c.198.013.426.14.654.33c.211.247.68.568.945%201.204c.19.466.254.77.281%201.098l.042.402v-.002a.68.68%200%200%200%201.342-.007c.008-.044.176-4.365.176-4.436c0-.38-.302-.69-.68-.696a.685.685%200%200%200-.682.688c0%20.009-.001.605-.014%201.206c-.536-.592-1.223-1.123-1.994-1.17c-2.058-.11-2.283%201.811-2.419%202.918l-.02.196c-.278%202.189.441%203.569%202.13%203.837c1.838.293%203.063.72%203.074%201.868c.007.446-.224.903-.627%201.254a2.16%202.16%200%200%201-1.749.507a3%203%200%200%201-.539-.141c-.24-.136-.847-.51-1.154-.942c-.26-.364-.35-.937-.378-1.3c.004-.163.005-.27.005-.283a.69.69%200%200%200-.669-.703a.69.69%200%200%200-.696.682c0%20.013-.017%201.367-.066%202.183c-.07%201.313%200%202.426%200%202.474c.028.382.35.67.727.644a.68.68%200%200%200%20.635-.733c0-.006-.033-.545-.029-1.29a5.2%205.2%200%200%200%201.938.773a3.45%203.45%200%200%200%202.856-.82c.713-.619%201.122-1.464%201.11-2.32c-.024-2.555-2.865-3.004-4.228-3.222M14.174%200a5.5%205.5%200%200%200-2.724.723h-.112c-2.637%200-4.937%201.392-6.15%203.728c-.728%201.393-.9%202.75-.999%203.579c-.012.089-.018.17-.028.262c-.12.974-.123%201.904-.01%202.772a5.8%205.8%200%200%200-.625%202.529v.016a59%2059%200%200%201-.057%201.95a30%2030%200%200%200-.008%202.94l.013.209C3.698%2021.676%206.159%2024%209.083%2024a5.5%205.5%200%200%200%203.463-1.21a8.36%208.36%200%200%200%205.195-2.08c1.826-1.587%202.859-3.845%202.83-6.19c-.013-1.362-.346-2.638-.978-3.763c.117-1.273.221-4.996.221-5.03c0-3.103-2.484-5.67-5.539-5.727zm.056%202.675c1.642.03%202.978%201.412%202.978%203.081c0%20.038-.145%204.497-.215%204.883a3.2%203.2%200%200%201-.203.69c.756.89%201.165%202%201.175%203.256c.021%201.555-.681%203.076-1.926%204.16a5.76%205.76%200%200%201-3.8%201.444a6%206%200%200%201-.718-.048a3%203%200%200%201-.172.215a2.97%202.97%200%200%201-2.264%201.038c-1.573%200-2.897-1.255-3.013-2.856l-.008-.122a27%2027%200%200%201%20.005-2.662c.039-.679.06-1.831.062-2.08a3.12%203.12%200%200%201%20.783-2.025c-.237-.835-.312-1.836-.167-3.02l.024-.212c.083-.695.208-1.72.72-2.7c.765-1.473%202.168-2.318%203.848-2.318a4.6%204.6%200%200%201%20.824.07c.546-.5%201.27-.81%202.067-.794%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%22currentColor%22%20d%3D%22M11.406%2011.312c-.78-.123-1.198-.654-.99-2.295l.023-.198c.175-1.426.321-1.743.996-1.706c.198.013.426.14.654.33c.211.247.68.568.945%201.204c.19.466.254.77.281%201.098l.042.402v-.002a.68.68%200%200%200%201.342-.007c.008-.044.176-4.365.176-4.436c0-.38-.302-.69-.68-.696a.685.685%200%200%200-.682.688c0%20.009-.001.605-.014%201.206c-.536-.592-1.223-1.123-1.994-1.17c-2.058-.11-2.283%201.811-2.419%202.918l-.02.196c-.278%202.189.441%203.569%202.13%203.837c1.838.293%203.063.72%203.074%201.868c.007.446-.224.903-.627%201.254a2.16%202.16%200%200%201-1.749.507a3%203%200%200%201-.539-.141c-.24-.136-.847-.51-1.154-.942c-.26-.364-.35-.937-.378-1.3c.004-.163.005-.27.005-.283a.69.69%200%200%200-.669-.703a.69.69%200%200%200-.696.682c0%20.013-.017%201.367-.066%202.183c-.07%201.313%200%202.426%200%202.474c.028.382.35.67.727.644a.68.68%200%200%200%20.635-.733c0-.006-.033-.545-.029-1.29a5.2%205.2%200%200%200%201.938.773a3.45%203.45%200%200%200%202.856-.82c.713-.619%201.122-1.464%201.11-2.32c-.024-2.555-2.865-3.004-4.228-3.222M14.174%200a5.5%205.5%200%200%200-2.724.723h-.112c-2.637%200-4.937%201.392-6.15%203.728c-.728%201.393-.9%202.75-.999%203.579c-.012.089-.018.17-.028.262c-.12.974-.123%201.904-.01%202.772a5.8%205.8%200%200%200-.625%202.529v.016a59%2059%200%200%201-.057%201.95a30%2030%200%200%200-.008%202.94l.013.209C3.698%2021.676%206.159%2024%209.083%2024a5.5%205.5%200%200%200%203.463-1.21a8.36%208.36%200%200%200%205.195-2.08c1.826-1.587%202.859-3.845%202.83-6.19c-.013-1.362-.346-2.638-.978-3.763c.117-1.273.221-4.996.221-5.03c0-3.103-2.484-5.67-5.539-5.727zm.056%202.675c1.642.03%202.978%201.412%202.978%203.081c0%20.038-.145%204.497-.215%204.883a3.2%203.2%200%200%201-.203.69c.756.89%201.165%202%201.175%203.256c.021%201.555-.681%203.076-1.926%204.16a5.76%205.76%200%200%201-3.8%201.444a6%206%200%200%201-.718-.048a3%203%200%200%201-.172.215a2.97%202.97%200%200%201-2.264%201.038c-1.573%200-2.897-1.255-3.013-2.856l-.008-.122a27%2027%200%200%201%20.005-2.662c.039-.679.06-1.831.062-2.08a3.12%203.12%200%200%201%20.783-2.025c-.237-.835-.312-1.836-.167-3.02l.024-.212c.083-.695.208-1.72.72-2.7c.765-1.473%202.168-2.318%203.848-2.318a4.6%204.6%200%200%201%20.824.07c.546-.5%201.27-.81%202.067-.794%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}单文件 CSS 即可播放,无需任何依赖;描画动效仅对描边类图标生效。
透明度往复渐变,适合状态提示与在线指示。
.icon-scratch {
animation: icon-breathe 1.8s ease-in-out infinite;
}
@keyframes icon-breathe {
0%, 100% { opacity: 1; }
50% { opacity: 0.35; }
}匀速循环旋转,适合加载中场景。
.icon-scratch {
animation: icon-spin 1.6s linear infinite;
}
@keyframes icon-spin {
to { transform: rotate(360deg); }
}对源文件的客观技术指标,供工程侧评估引用方式。
文件体积
1.95 KB
2,000 字节
viewBox
0 0 24 24
矢量坐标系
图元总数
1
<path> ×1
风格
单色(跟随 currentColor)
填充跟随容器颜色
同时含 width/height 与 viewBox:可以只保留 viewBox,让图标跟随容器自适应缩放。 文件体积 1.95 KB(2,000 字节),图元 1 个,风格为单色(跟随 currentColor)。
关于 scratch 图标的下载、商用与改色。
它是 Simple Icons(simple-icons)开源图标集中的 scratch 图标,单色(跟随 currentColor),viewBox 为 0 0 24 24,文件仅 1.95 KB,矢量格式可无损缩放到任意尺寸。
点击「下载与导出」中的 SVG 源文件按钮保存矢量文件;也可以按 512 / 256 / 128 / 64 / 32 / 16px 预设导出 PNG,或在输入框填 16~1024 之间的任意尺寸。需要 iOS、Android 全套尺寸时,用素材包生成器一键打包。
该图标采用 CC0 1.0(CC0-1.0) 开源协议,通常允许在遵守协议的前提下免费使用,常见要求是保留作者版权声明。商用前建议阅读协议原文确认。
在「预览与场景」的色板中切换颜色,三底色与全部场景会实时跟随;点击任一相近图标可打开预览弹层,复制对应颜色的 SVG 源码或 PNG。也可以复制 SVG 源码后自行修改 fill 值。