下载 首页 图标
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"><g fill="none"><defs><linearGradient id="SVGAL1Heedl" x1="12" x2="12" y1="3" y2="33" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#2f7df6"/><stop offset="1" stop-color="#1545c2"/></linearGradient><linearGradient id="SVGc4dVHbRD" x1="12" x2="12" y1="2" y2="22" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff" stop-opacity=".75"/><stop offset=".3" stop-color="#fff" stop-opacity="0"/><stop offset=".7" stop-color="#1545c2" stop-opacity="0"/><stop offset="1" stop-color="#1545c2" stop-opacity=".55"/></linearGradient><linearGradient id="SVGzMr8YbKB" x1="12" x2="12" y1="5.56" y2="18.56" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#dce8ff"/></linearGradient><radialGradient id="SVGLReEze0O" cx="12" cy="1" r="14" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff" stop-opacity=".42"/><stop offset=".55" stop-color="#fff" stop-opacity=".1"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></radialGradient></defs><path fill="#1545c2" fill-opacity=".28" d="M14.44 2.5c2.58 0 3.86 0 4.85.5a4.6 4.6 0 0 1 2.01 2.01c.5.98.5 2.27.5 4.85v5.28c0 2.58 0 3.86-.5 4.85A4.6 4.6 0 0 1 19.29 22c-.98.5-2.27.5-4.85.5H9.56c-2.58 0-3.86 0-4.85-.5a4.6 4.6 0 0 1-2.01-2.01c-.5-.98-.5-2.27-.5-4.85V9.86c0-2.58 0-3.86.5-4.85A4.6 4.6 0 0 1 4.71 3c.98-.5 2.27-.5 4.85-.5Z" class="wm-shadow"/><path fill="url(#SVGAL1Heedl)" d="M14.64 2c2.58 0 3.86 0 4.85.5a4.6 4.6 0 0 1 2.01 2.01c.5.98.5 2.27.5 4.85v5.28c0 2.58 0 3.86-.5 4.85a4.6 4.6 0 0 1-2.01 2.01c-.98.5-2.27.5-4.85.5H9.36c-2.58 0-3.86 0-4.85-.5a4.6 4.6 0 0 1-2.01-2.01c-.5-.98-.5-2.27-.5-4.85V9.36c0-2.58 0-3.86.5-4.85A4.6 4.6 0 0 1 4.51 2.5C5.49 2 6.78 2 9.36 2Z" class="wm-deco"/><path fill="url(#SVGLReEze0O)" d="M14.64 2c2.58 0 3.86 0 4.85.5a4.6 4.6 0 0 1 2.01 2.01c.5.98.5 2.27.5 4.85v5.28c0 2.58 0 3.86-.5 4.85a4.6 4.6 0 0 1-2.01 2.01c-.98.5-2.27.5-4.85.5H9.36c-2.58 0-3.86 0-4.85-.5a4.6 4.6 0 0 1-2.01-2.01c-.5-.98-.5-2.27-.5-4.85V9.36c0-2.58 0-3.86.5-4.85A4.6 4.6 0 0 1 4.51 2.5C5.49 2 6.78 2 9.36 2Z" class="wm-deco"/><path stroke="url(#SVGc4dVHbRD)" stroke-width=".32" d="M14.74 2.16c2.49 0 3.73 0 4.68.48a4.44 4.44 0 0 1 1.94 1.94c.48.95.48 2.19.48 4.68v5.48c0 2.49 0 3.73-.48 4.68a4.44 4.44 0 0 1-1.94 1.94c-.95.48-2.19.48-4.68.48H9.26c-2.49 0-3.73 0-4.68-.48a4.44 4.44 0 0 1-1.94-1.94c-.48-.95-.48-2.19-.48-4.68V9.26c0-2.49 0-3.73.48-4.68a4.44 4.44 0 0 1 1.94-1.94c.95-.48 2.19-.48 4.68-.48Z" class="wm-deco"/><path fill="#1545c2" fill-opacity=".4" fill-rule="evenodd" stroke="#1545c2" stroke-linejoin="round" stroke-opacity=".3" stroke-width=".7" d="m11.7 6l-6.3 5l-.3.3l-.1.3l.1.4l.3.4l.6.1l.6-.4v4.8l.2.7l.3.5l.3.4l.4.2l.6.3h7l.5-.1l.5-.2l.4-.4l.3-.4l.2-.5l.1-5.2v-.1l.6.4l.5-.1l.4-.4l.1-.6l-.3-.4l-6.2-4.8l-.3-.2zm-.6 8h1.7l.4.1l.3.4l.1.4v3.3l-3.2-.1v-3.3l.2-.6z" class="wm-shadow"/><path stroke="#1545c2" stroke-linejoin="round" stroke-opacity=".6" stroke-width=".8" d="m11.74 5.61l-.31.18l-6.03 4.76l-.17.15l-.14.21l-.08.31l.06.32l.16.26l.22.17l.26.08h.26l.26-.1l.36-.27l.05.06v4.74l.05.41l.09.31l.12.26l.17.26l.35.37l.37.24l.31.13l.31.07l.37.03h6.6l.52-.1l.47-.22l.41-.34l.32-.44l.2-.52l.06-.36v-4.84l.05-.06l.36.27l.21.09l.26.02l.26-.07l.26-.18l.15-.22l.08-.31l-.04-.26l-.13-.26l-.16-.16l-6.14-4.85l-.16-.1l-.2-.07l-.16-.02zm-.65 7.95l.29-.03l1.45.01l.21.07l.19.11l.12.11l.15.2l.09.21l.03.26l-.01 3.23l-3.12.02l-.11-.03l.01-3.38l.11-.31l.15-.2l.21-.17z"/><path fill="url(#SVGzMr8YbKB)" fill-rule="evenodd" d="m11.74 5.61l-.31.18l-6.03 4.76l-.17.15l-.14.21l-.08.31l.06.32l.16.26l.22.17l.26.08h.26l.26-.1l.36-.27l.05.06v4.74l.05.41l.09.31l.12.26l.17.26l.35.37l.37.24l.31.13l.31.07l.37.03h6.6l.52-.1l.47-.22l.41-.34l.32-.44l.2-.52l.06-.36v-4.84l.05-.06l.36.27l.21.09l.26.02l.26-.07l.26-.18l.15-.22l.08-.31l-.04-.26l-.13-.26l-.16-.16l-6.14-4.85l-.16-.1l-.2-.07l-.16-.02zm-.65 7.95l.29-.03l1.45.01l.21.07l.19.11l.12.11l.15.2l.09.21l.03.26l-.01 3.23l-3.12.02l-.11-.03l.01-3.38l.11-.31l.15-.2l.21-.17z"/><path fill="#1545c2" fill-opacity=".22" fill-rule="evenodd" d="m5.03 11.15l.04.39l.16.26l.22.17l.26.08h.26l.26-.1l.41-.31l-.05-.32l-.36.27l-.26.09l-.26.01l-.26-.09l-.21-.16zm13.94-.01l-.21.3l-.26.19l-.26.06l-.26-.02l-.57-.35l-.05.32l.41.31l.21.09l.26.02l.26-.07l.26-.18l.15-.22zm-7.85 2.06l-.27.1l-.31.32l-.15.36l.02.21l.24-.37l.47-.26l1.71-.01l.22.07l.3.21l.23.36l.03.22l-.01-.48l-.1-.26l-.15-.21l-.31-.21l-.21-.07zm6.24 2.97v.36l-.26.57l-.32.43l-.42.35l-.46.21l-.52.1l-6.97-.02l-.62-.21l-.37-.24l-.52-.61l-.2-.55l-.04.12l.12.52l.33.57l.31.32l.37.24l.62.2l6.97.03l.52-.1l.46-.22l.44-.36l.3-.42l.2-.52z"/></g></svg>export function HomeIcon(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: `<g fill="none"><defs><linearGradient id="SVGAL1Heedl" x1="12" x2="12" y1="3" y2="33" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#2f7df6"/><stop offset="1" stop-color="#1545c2"/></linearGradient><linearGradient id="SVGc4dVHbRD" x1="12" x2="12" y1="2" y2="22" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff" stop-opacity=".75"/><stop offset=".3" stop-color="#fff" stop-opacity="0"/><stop offset=".7" stop-color="#1545c2" stop-opacity="0"/><stop offset="1" stop-color="#1545c2" stop-opacity=".55"/></linearGradient><linearGradient id="SVGzMr8YbKB" x1="12" x2="12" y1="5.56" y2="18.56" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#dce8ff"/></linearGradient><radialGradient id="SVGLReEze0O" cx="12" cy="1" r="14" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff" stop-opacity=".42"/><stop offset=".55" stop-color="#fff" stop-opacity=".1"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></radialGradient></defs><path fill="#1545c2" fill-opacity=".28" d="M14.44 2.5c2.58 0 3.86 0 4.85.5a4.6 4.6 0 0 1 2.01 2.01c.5.98.5 2.27.5 4.85v5.28c0 2.58 0 3.86-.5 4.85A4.6 4.6 0 0 1 19.29 22c-.98.5-2.27.5-4.85.5H9.56c-2.58 0-3.86 0-4.85-.5a4.6 4.6 0 0 1-2.01-2.01c-.5-.98-.5-2.27-.5-4.85V9.86c0-2.58 0-3.86.5-4.85A4.6 4.6 0 0 1 4.71 3c.98-.5 2.27-.5 4.85-.5Z" class="wm-shadow"/><path fill="url(#SVGAL1Heedl)" d="M14.64 2c2.58 0 3.86 0 4.85.5a4.6 4.6 0 0 1 2.01 2.01c.5.98.5 2.27.5 4.85v5.28c0 2.58 0 3.86-.5 4.85a4.6 4.6 0 0 1-2.01 2.01c-.98.5-2.27.5-4.85.5H9.36c-2.58 0-3.86 0-4.85-.5a4.6 4.6 0 0 1-2.01-2.01c-.5-.98-.5-2.27-.5-4.85V9.36c0-2.58 0-3.86.5-4.85A4.6 4.6 0 0 1 4.51 2.5C5.49 2 6.78 2 9.36 2Z" class="wm-deco"/><path fill="url(#SVGLReEze0O)" d="M14.64 2c2.58 0 3.86 0 4.85.5a4.6 4.6 0 0 1 2.01 2.01c.5.98.5 2.27.5 4.85v5.28c0 2.58 0 3.86-.5 4.85a4.6 4.6 0 0 1-2.01 2.01c-.98.5-2.27.5-4.85.5H9.36c-2.58 0-3.86 0-4.85-.5a4.6 4.6 0 0 1-2.01-2.01c-.5-.98-.5-2.27-.5-4.85V9.36c0-2.58 0-3.86.5-4.85A4.6 4.6 0 0 1 4.51 2.5C5.49 2 6.78 2 9.36 2Z" class="wm-deco"/><path stroke="url(#SVGc4dVHbRD)" stroke-width=".32" d="M14.74 2.16c2.49 0 3.73 0 4.68.48a4.44 4.44 0 0 1 1.94 1.94c.48.95.48 2.19.48 4.68v5.48c0 2.49 0 3.73-.48 4.68a4.44 4.44 0 0 1-1.94 1.94c-.95.48-2.19.48-4.68.48H9.26c-2.49 0-3.73 0-4.68-.48a4.44 4.44 0 0 1-1.94-1.94c-.48-.95-.48-2.19-.48-4.68V9.26c0-2.49 0-3.73.48-4.68a4.44 4.44 0 0 1 1.94-1.94c.95-.48 2.19-.48 4.68-.48Z" class="wm-deco"/><path fill="#1545c2" fill-opacity=".4" fill-rule="evenodd" stroke="#1545c2" stroke-linejoin="round" stroke-opacity=".3" stroke-width=".7" d="m11.7 6l-6.3 5l-.3.3l-.1.3l.1.4l.3.4l.6.1l.6-.4v4.8l.2.7l.3.5l.3.4l.4.2l.6.3h7l.5-.1l.5-.2l.4-.4l.3-.4l.2-.5l.1-5.2v-.1l.6.4l.5-.1l.4-.4l.1-.6l-.3-.4l-6.2-4.8l-.3-.2zm-.6 8h1.7l.4.1l.3.4l.1.4v3.3l-3.2-.1v-3.3l.2-.6z" class="wm-shadow"/><path stroke="#1545c2" stroke-linejoin="round" stroke-opacity=".6" stroke-width=".8" d="m11.74 5.61l-.31.18l-6.03 4.76l-.17.15l-.14.21l-.08.31l.06.32l.16.26l.22.17l.26.08h.26l.26-.1l.36-.27l.05.06v4.74l.05.41l.09.31l.12.26l.17.26l.35.37l.37.24l.31.13l.31.07l.37.03h6.6l.52-.1l.47-.22l.41-.34l.32-.44l.2-.52l.06-.36v-4.84l.05-.06l.36.27l.21.09l.26.02l.26-.07l.26-.18l.15-.22l.08-.31l-.04-.26l-.13-.26l-.16-.16l-6.14-4.85l-.16-.1l-.2-.07l-.16-.02zm-.65 7.95l.29-.03l1.45.01l.21.07l.19.11l.12.11l.15.2l.09.21l.03.26l-.01 3.23l-3.12.02l-.11-.03l.01-3.38l.11-.31l.15-.2l.21-.17z"/><path fill="url(#SVGzMr8YbKB)" fill-rule="evenodd" d="m11.74 5.61l-.31.18l-6.03 4.76l-.17.15l-.14.21l-.08.31l.06.32l.16.26l.22.17l.26.08h.26l.26-.1l.36-.27l.05.06v4.74l.05.41l.09.31l.12.26l.17.26l.35.37l.37.24l.31.13l.31.07l.37.03h6.6l.52-.1l.47-.22l.41-.34l.32-.44l.2-.52l.06-.36v-4.84l.05-.06l.36.27l.21.09l.26.02l.26-.07l.26-.18l.15-.22l.08-.31l-.04-.26l-.13-.26l-.16-.16l-6.14-4.85l-.16-.1l-.2-.07l-.16-.02zm-.65 7.95l.29-.03l1.45.01l.21.07l.19.11l.12.11l.15.2l.09.21l.03.26l-.01 3.23l-3.12.02l-.11-.03l.01-3.38l.11-.31l.15-.2l.21-.17z"/><path fill="#1545c2" fill-opacity=".22" fill-rule="evenodd" d="m5.03 11.15l.04.39l.16.26l.22.17l.26.08h.26l.26-.1l.41-.31l-.05-.32l-.36.27l-.26.09l-.26.01l-.26-.09l-.21-.16zm13.94-.01l-.21.3l-.26.19l-.26.06l-.26-.02l-.57-.35l-.05.32l.41.31l.21.09l.26.02l.26-.07l.26-.18l.15-.22zm-7.85 2.06l-.27.1l-.31.32l-.15.36l.02.21l.24-.37l.47-.26l1.71-.01l.22.07l.3.21l.23.36l.03.22l-.01-.48l-.1-.26l-.15-.21l-.31-.21l-.21-.07zm6.24 2.97v.36l-.26.57l-.32.43l-.42.35l-.46.21l-.52.1l-6.97-.02l-.62-.21l-.37-.24l-.52-.61l-.2-.55l-.04.12l.12.52l.33.57l.31.32l.37.24l.62.2l6.97.03l.52-.1l.46-.22l.44-.36l.3-.42l.2-.52z"/></g>` }}
/>
);
}<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 = `<g fill="none"><defs><linearGradient id="SVGAL1Heedl" x1="12" x2="12" y1="3" y2="33" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#2f7df6"/><stop offset="1" stop-color="#1545c2"/></linearGradient><linearGradient id="SVGc4dVHbRD" x1="12" x2="12" y1="2" y2="22" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff" stop-opacity=".75"/><stop offset=".3" stop-color="#fff" stop-opacity="0"/><stop offset=".7" stop-color="#1545c2" stop-opacity="0"/><stop offset="1" stop-color="#1545c2" stop-opacity=".55"/></linearGradient><linearGradient id="SVGzMr8YbKB" x1="12" x2="12" y1="5.56" y2="18.56" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#dce8ff"/></linearGradient><radialGradient id="SVGLReEze0O" cx="12" cy="1" r="14" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff" stop-opacity=".42"/><stop offset=".55" stop-color="#fff" stop-opacity=".1"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></radialGradient></defs><path fill="#1545c2" fill-opacity=".28" d="M14.44 2.5c2.58 0 3.86 0 4.85.5a4.6 4.6 0 0 1 2.01 2.01c.5.98.5 2.27.5 4.85v5.28c0 2.58 0 3.86-.5 4.85A4.6 4.6 0 0 1 19.29 22c-.98.5-2.27.5-4.85.5H9.56c-2.58 0-3.86 0-4.85-.5a4.6 4.6 0 0 1-2.01-2.01c-.5-.98-.5-2.27-.5-4.85V9.86c0-2.58 0-3.86.5-4.85A4.6 4.6 0 0 1 4.71 3c.98-.5 2.27-.5 4.85-.5Z" class="wm-shadow"/><path fill="url(#SVGAL1Heedl)" d="M14.64 2c2.58 0 3.86 0 4.85.5a4.6 4.6 0 0 1 2.01 2.01c.5.98.5 2.27.5 4.85v5.28c0 2.58 0 3.86-.5 4.85a4.6 4.6 0 0 1-2.01 2.01c-.98.5-2.27.5-4.85.5H9.36c-2.58 0-3.86 0-4.85-.5a4.6 4.6 0 0 1-2.01-2.01c-.5-.98-.5-2.27-.5-4.85V9.36c0-2.58 0-3.86.5-4.85A4.6 4.6 0 0 1 4.51 2.5C5.49 2 6.78 2 9.36 2Z" class="wm-deco"/><path fill="url(#SVGLReEze0O)" d="M14.64 2c2.58 0 3.86 0 4.85.5a4.6 4.6 0 0 1 2.01 2.01c.5.98.5 2.27.5 4.85v5.28c0 2.58 0 3.86-.5 4.85a4.6 4.6 0 0 1-2.01 2.01c-.98.5-2.27.5-4.85.5H9.36c-2.58 0-3.86 0-4.85-.5a4.6 4.6 0 0 1-2.01-2.01c-.5-.98-.5-2.27-.5-4.85V9.36c0-2.58 0-3.86.5-4.85A4.6 4.6 0 0 1 4.51 2.5C5.49 2 6.78 2 9.36 2Z" class="wm-deco"/><path stroke="url(#SVGc4dVHbRD)" stroke-width=".32" d="M14.74 2.16c2.49 0 3.73 0 4.68.48a4.44 4.44 0 0 1 1.94 1.94c.48.95.48 2.19.48 4.68v5.48c0 2.49 0 3.73-.48 4.68a4.44 4.44 0 0 1-1.94 1.94c-.95.48-2.19.48-4.68.48H9.26c-2.49 0-3.73 0-4.68-.48a4.44 4.44 0 0 1-1.94-1.94c-.48-.95-.48-2.19-.48-4.68V9.26c0-2.49 0-3.73.48-4.68a4.44 4.44 0 0 1 1.94-1.94c.95-.48 2.19-.48 4.68-.48Z" class="wm-deco"/><path fill="#1545c2" fill-opacity=".4" fill-rule="evenodd" stroke="#1545c2" stroke-linejoin="round" stroke-opacity=".3" stroke-width=".7" d="m11.7 6l-6.3 5l-.3.3l-.1.3l.1.4l.3.4l.6.1l.6-.4v4.8l.2.7l.3.5l.3.4l.4.2l.6.3h7l.5-.1l.5-.2l.4-.4l.3-.4l.2-.5l.1-5.2v-.1l.6.4l.5-.1l.4-.4l.1-.6l-.3-.4l-6.2-4.8l-.3-.2zm-.6 8h1.7l.4.1l.3.4l.1.4v3.3l-3.2-.1v-3.3l.2-.6z" class="wm-shadow"/><path stroke="#1545c2" stroke-linejoin="round" stroke-opacity=".6" stroke-width=".8" d="m11.74 5.61l-.31.18l-6.03 4.76l-.17.15l-.14.21l-.08.31l.06.32l.16.26l.22.17l.26.08h.26l.26-.1l.36-.27l.05.06v4.74l.05.41l.09.31l.12.26l.17.26l.35.37l.37.24l.31.13l.31.07l.37.03h6.6l.52-.1l.47-.22l.41-.34l.32-.44l.2-.52l.06-.36v-4.84l.05-.06l.36.27l.21.09l.26.02l.26-.07l.26-.18l.15-.22l.08-.31l-.04-.26l-.13-.26l-.16-.16l-6.14-4.85l-.16-.1l-.2-.07l-.16-.02zm-.65 7.95l.29-.03l1.45.01l.21.07l.19.11l.12.11l.15.2l.09.21l.03.26l-.01 3.23l-3.12.02l-.11-.03l.01-3.38l.11-.31l.15-.2l.21-.17z"/><path fill="url(#SVGzMr8YbKB)" fill-rule="evenodd" d="m11.74 5.61l-.31.18l-6.03 4.76l-.17.15l-.14.21l-.08.31l.06.32l.16.26l.22.17l.26.08h.26l.26-.1l.36-.27l.05.06v4.74l.05.41l.09.31l.12.26l.17.26l.35.37l.37.24l.31.13l.31.07l.37.03h6.6l.52-.1l.47-.22l.41-.34l.32-.44l.2-.52l.06-.36v-4.84l.05-.06l.36.27l.21.09l.26.02l.26-.07l.26-.18l.15-.22l.08-.31l-.04-.26l-.13-.26l-.16-.16l-6.14-4.85l-.16-.1l-.2-.07l-.16-.02zm-.65 7.95l.29-.03l1.45.01l.21.07l.19.11l.12.11l.15.2l.09.21l.03.26l-.01 3.23l-3.12.02l-.11-.03l.01-3.38l.11-.31l.15-.2l.21-.17z"/><path fill="#1545c2" fill-opacity=".22" fill-rule="evenodd" d="m5.03 11.15l.04.39l.16.26l.22.17l.26.08h.26l.26-.1l.41-.31l-.05-.32l-.36.27l-.26.09l-.26.01l-.26-.09l-.21-.16zm13.94-.01l-.21.3l-.26.19l-.26.06l-.26-.02l-.57-.35l-.05.32l.41.31l.21.09l.26.02l.26-.07l.26-.18l.15-.22zm-7.85 2.06l-.27.1l-.31.32l-.15.36l.02.21l.24-.37l.47-.26l1.71-.01l.22.07l.3.21l.23.36l.03.22l-.01-.48l-.1-.26l-.15-.21l-.31-.21l-.21-.07zm6.24 2.97v.36l-.26.57l-.32.43l-.42.35l-.46.21l-.52.1l-6.97-.02l-.62-.21l-.37-.24l-.52-.61l-.2-.55l-.04.12l.12.52l.33.57l.31.32l.37.24l.62.2l6.97.03l.52-.1l.46-.22l.44-.36l.3-.42l.2-.52z"/></g>`;
</script>.home {
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%3Cg%20fill%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22SVGAL1Heedl%22%20x1%3D%2212%22%20x2%3D%2212%22%20y1%3D%223%22%20y2%3D%2233%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%232f7df6%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%231545c2%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22SVGc4dVHbRD%22%20x1%3D%2212%22%20x2%3D%2212%22%20y1%3D%222%22%20y2%3D%2222%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23fff%22%20stop-opacity%3D%22.75%22%2F%3E%3Cstop%20offset%3D%22.3%22%20stop-color%3D%22%23fff%22%20stop-opacity%3D%220%22%2F%3E%3Cstop%20offset%3D%22.7%22%20stop-color%3D%22%231545c2%22%20stop-opacity%3D%220%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%231545c2%22%20stop-opacity%3D%22.55%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22SVGzMr8YbKB%22%20x1%3D%2212%22%20x2%3D%2212%22%20y1%3D%225.56%22%20y2%3D%2218.56%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23fff%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23dce8ff%22%2F%3E%3C%2FlinearGradient%3E%3CradialGradient%20id%3D%22SVGLReEze0O%22%20cx%3D%2212%22%20cy%3D%221%22%20r%3D%2214%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23fff%22%20stop-opacity%3D%22.42%22%2F%3E%3Cstop%20offset%3D%22.55%22%20stop-color%3D%22%23fff%22%20stop-opacity%3D%22.1%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23fff%22%20stop-opacity%3D%220%22%2F%3E%3C%2FradialGradient%3E%3C%2Fdefs%3E%3Cpath%20fill%3D%22%231545c2%22%20fill-opacity%3D%22.28%22%20d%3D%22M14.44%202.5c2.58%200%203.86%200%204.85.5a4.6%204.6%200%200%201%202.01%202.01c.5.98.5%202.27.5%204.85v5.28c0%202.58%200%203.86-.5%204.85A4.6%204.6%200%200%201%2019.29%2022c-.98.5-2.27.5-4.85.5H9.56c-2.58%200-3.86%200-4.85-.5a4.6%204.6%200%200%201-2.01-2.01c-.5-.98-.5-2.27-.5-4.85V9.86c0-2.58%200-3.86.5-4.85A4.6%204.6%200%200%201%204.71%203c.98-.5%202.27-.5%204.85-.5Z%22%20class%3D%22wm-shadow%22%2F%3E%3Cpath%20fill%3D%22url(%23SVGAL1Heedl)%22%20d%3D%22M14.64%202c2.58%200%203.86%200%204.85.5a4.6%204.6%200%200%201%202.01%202.01c.5.98.5%202.27.5%204.85v5.28c0%202.58%200%203.86-.5%204.85a4.6%204.6%200%200%201-2.01%202.01c-.98.5-2.27.5-4.85.5H9.36c-2.58%200-3.86%200-4.85-.5a4.6%204.6%200%200%201-2.01-2.01c-.5-.98-.5-2.27-.5-4.85V9.36c0-2.58%200-3.86.5-4.85A4.6%204.6%200%200%201%204.51%202.5C5.49%202%206.78%202%209.36%202Z%22%20class%3D%22wm-deco%22%2F%3E%3Cpath%20fill%3D%22url(%23SVGLReEze0O)%22%20d%3D%22M14.64%202c2.58%200%203.86%200%204.85.5a4.6%204.6%200%200%201%202.01%202.01c.5.98.5%202.27.5%204.85v5.28c0%202.58%200%203.86-.5%204.85a4.6%204.6%200%200%201-2.01%202.01c-.98.5-2.27.5-4.85.5H9.36c-2.58%200-3.86%200-4.85-.5a4.6%204.6%200%200%201-2.01-2.01c-.5-.98-.5-2.27-.5-4.85V9.36c0-2.58%200-3.86.5-4.85A4.6%204.6%200%200%201%204.51%202.5C5.49%202%206.78%202%209.36%202Z%22%20class%3D%22wm-deco%22%2F%3E%3Cpath%20stroke%3D%22url(%23SVGc4dVHbRD)%22%20stroke-width%3D%22.32%22%20d%3D%22M14.74%202.16c2.49%200%203.73%200%204.68.48a4.44%204.44%200%200%201%201.94%201.94c.48.95.48%202.19.48%204.68v5.48c0%202.49%200%203.73-.48%204.68a4.44%204.44%200%200%201-1.94%201.94c-.95.48-2.19.48-4.68.48H9.26c-2.49%200-3.73%200-4.68-.48a4.44%204.44%200%200%201-1.94-1.94c-.48-.95-.48-2.19-.48-4.68V9.26c0-2.49%200-3.73.48-4.68a4.44%204.44%200%200%201%201.94-1.94c.95-.48%202.19-.48%204.68-.48Z%22%20class%3D%22wm-deco%22%2F%3E%3Cpath%20fill%3D%22%231545c2%22%20fill-opacity%3D%22.4%22%20fill-rule%3D%22evenodd%22%20stroke%3D%22%231545c2%22%20stroke-linejoin%3D%22round%22%20stroke-opacity%3D%22.3%22%20stroke-width%3D%22.7%22%20d%3D%22m11.7%206l-6.3%205l-.3.3l-.1.3l.1.4l.3.4l.6.1l.6-.4v4.8l.2.7l.3.5l.3.4l.4.2l.6.3h7l.5-.1l.5-.2l.4-.4l.3-.4l.2-.5l.1-5.2v-.1l.6.4l.5-.1l.4-.4l.1-.6l-.3-.4l-6.2-4.8l-.3-.2zm-.6%208h1.7l.4.1l.3.4l.1.4v3.3l-3.2-.1v-3.3l.2-.6z%22%20class%3D%22wm-shadow%22%2F%3E%3Cpath%20stroke%3D%22%231545c2%22%20stroke-linejoin%3D%22round%22%20stroke-opacity%3D%22.6%22%20stroke-width%3D%22.8%22%20d%3D%22m11.74%205.61l-.31.18l-6.03%204.76l-.17.15l-.14.21l-.08.31l.06.32l.16.26l.22.17l.26.08h.26l.26-.1l.36-.27l.05.06v4.74l.05.41l.09.31l.12.26l.17.26l.35.37l.37.24l.31.13l.31.07l.37.03h6.6l.52-.1l.47-.22l.41-.34l.32-.44l.2-.52l.06-.36v-4.84l.05-.06l.36.27l.21.09l.26.02l.26-.07l.26-.18l.15-.22l.08-.31l-.04-.26l-.13-.26l-.16-.16l-6.14-4.85l-.16-.1l-.2-.07l-.16-.02zm-.65%207.95l.29-.03l1.45.01l.21.07l.19.11l.12.11l.15.2l.09.21l.03.26l-.01%203.23l-3.12.02l-.11-.03l.01-3.38l.11-.31l.15-.2l.21-.17z%22%2F%3E%3Cpath%20fill%3D%22url(%23SVGzMr8YbKB)%22%20fill-rule%3D%22evenodd%22%20d%3D%22m11.74%205.61l-.31.18l-6.03%204.76l-.17.15l-.14.21l-.08.31l.06.32l.16.26l.22.17l.26.08h.26l.26-.1l.36-.27l.05.06v4.74l.05.41l.09.31l.12.26l.17.26l.35.37l.37.24l.31.13l.31.07l.37.03h6.6l.52-.1l.47-.22l.41-.34l.32-.44l.2-.52l.06-.36v-4.84l.05-.06l.36.27l.21.09l.26.02l.26-.07l.26-.18l.15-.22l.08-.31l-.04-.26l-.13-.26l-.16-.16l-6.14-4.85l-.16-.1l-.2-.07l-.16-.02zm-.65%207.95l.29-.03l1.45.01l.21.07l.19.11l.12.11l.15.2l.09.21l.03.26l-.01%203.23l-3.12.02l-.11-.03l.01-3.38l.11-.31l.15-.2l.21-.17z%22%2F%3E%3Cpath%20fill%3D%22%231545c2%22%20fill-opacity%3D%22.22%22%20fill-rule%3D%22evenodd%22%20d%3D%22m5.03%2011.15l.04.39l.16.26l.22.17l.26.08h.26l.26-.1l.41-.31l-.05-.32l-.36.27l-.26.09l-.26.01l-.26-.09l-.21-.16zm13.94-.01l-.21.3l-.26.19l-.26.06l-.26-.02l-.57-.35l-.05.32l.41.31l.21.09l.26.02l.26-.07l.26-.18l.15-.22zm-7.85%202.06l-.27.1l-.31.32l-.15.36l.02.21l.24-.37l.47-.26l1.71-.01l.22.07l.3.21l.23.36l.03.22l-.01-.48l-.1-.26l-.15-.21l-.31-.21l-.21-.07zm6.24%202.97v.36l-.26.57l-.32.43l-.42.35l-.46.21l-.52.1l-6.97-.02l-.62-.21l-.37-.24l-.52-.61l-.2-.55l-.04.12l.12.52l.33.57l.31.32l.37.24l.62.2l6.97.03l.52-.1l.46-.22l.44-.36l.3-.42l.2-.52z%22%2F%3E%3C%2Fg%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%3Cg%20fill%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22SVGAL1Heedl%22%20x1%3D%2212%22%20x2%3D%2212%22%20y1%3D%223%22%20y2%3D%2233%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%232f7df6%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%231545c2%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22SVGc4dVHbRD%22%20x1%3D%2212%22%20x2%3D%2212%22%20y1%3D%222%22%20y2%3D%2222%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23fff%22%20stop-opacity%3D%22.75%22%2F%3E%3Cstop%20offset%3D%22.3%22%20stop-color%3D%22%23fff%22%20stop-opacity%3D%220%22%2F%3E%3Cstop%20offset%3D%22.7%22%20stop-color%3D%22%231545c2%22%20stop-opacity%3D%220%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%231545c2%22%20stop-opacity%3D%22.55%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22SVGzMr8YbKB%22%20x1%3D%2212%22%20x2%3D%2212%22%20y1%3D%225.56%22%20y2%3D%2218.56%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23fff%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23dce8ff%22%2F%3E%3C%2FlinearGradient%3E%3CradialGradient%20id%3D%22SVGLReEze0O%22%20cx%3D%2212%22%20cy%3D%221%22%20r%3D%2214%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23fff%22%20stop-opacity%3D%22.42%22%2F%3E%3Cstop%20offset%3D%22.55%22%20stop-color%3D%22%23fff%22%20stop-opacity%3D%22.1%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23fff%22%20stop-opacity%3D%220%22%2F%3E%3C%2FradialGradient%3E%3C%2Fdefs%3E%3Cpath%20fill%3D%22%231545c2%22%20fill-opacity%3D%22.28%22%20d%3D%22M14.44%202.5c2.58%200%203.86%200%204.85.5a4.6%204.6%200%200%201%202.01%202.01c.5.98.5%202.27.5%204.85v5.28c0%202.58%200%203.86-.5%204.85A4.6%204.6%200%200%201%2019.29%2022c-.98.5-2.27.5-4.85.5H9.56c-2.58%200-3.86%200-4.85-.5a4.6%204.6%200%200%201-2.01-2.01c-.5-.98-.5-2.27-.5-4.85V9.86c0-2.58%200-3.86.5-4.85A4.6%204.6%200%200%201%204.71%203c.98-.5%202.27-.5%204.85-.5Z%22%20class%3D%22wm-shadow%22%2F%3E%3Cpath%20fill%3D%22url(%23SVGAL1Heedl)%22%20d%3D%22M14.64%202c2.58%200%203.86%200%204.85.5a4.6%204.6%200%200%201%202.01%202.01c.5.98.5%202.27.5%204.85v5.28c0%202.58%200%203.86-.5%204.85a4.6%204.6%200%200%201-2.01%202.01c-.98.5-2.27.5-4.85.5H9.36c-2.58%200-3.86%200-4.85-.5a4.6%204.6%200%200%201-2.01-2.01c-.5-.98-.5-2.27-.5-4.85V9.36c0-2.58%200-3.86.5-4.85A4.6%204.6%200%200%201%204.51%202.5C5.49%202%206.78%202%209.36%202Z%22%20class%3D%22wm-deco%22%2F%3E%3Cpath%20fill%3D%22url(%23SVGLReEze0O)%22%20d%3D%22M14.64%202c2.58%200%203.86%200%204.85.5a4.6%204.6%200%200%201%202.01%202.01c.5.98.5%202.27.5%204.85v5.28c0%202.58%200%203.86-.5%204.85a4.6%204.6%200%200%201-2.01%202.01c-.98.5-2.27.5-4.85.5H9.36c-2.58%200-3.86%200-4.85-.5a4.6%204.6%200%200%201-2.01-2.01c-.5-.98-.5-2.27-.5-4.85V9.36c0-2.58%200-3.86.5-4.85A4.6%204.6%200%200%201%204.51%202.5C5.49%202%206.78%202%209.36%202Z%22%20class%3D%22wm-deco%22%2F%3E%3Cpath%20stroke%3D%22url(%23SVGc4dVHbRD)%22%20stroke-width%3D%22.32%22%20d%3D%22M14.74%202.16c2.49%200%203.73%200%204.68.48a4.44%204.44%200%200%201%201.94%201.94c.48.95.48%202.19.48%204.68v5.48c0%202.49%200%203.73-.48%204.68a4.44%204.44%200%200%201-1.94%201.94c-.95.48-2.19.48-4.68.48H9.26c-2.49%200-3.73%200-4.68-.48a4.44%204.44%200%200%201-1.94-1.94c-.48-.95-.48-2.19-.48-4.68V9.26c0-2.49%200-3.73.48-4.68a4.44%204.44%200%200%201%201.94-1.94c.95-.48%202.19-.48%204.68-.48Z%22%20class%3D%22wm-deco%22%2F%3E%3Cpath%20fill%3D%22%231545c2%22%20fill-opacity%3D%22.4%22%20fill-rule%3D%22evenodd%22%20stroke%3D%22%231545c2%22%20stroke-linejoin%3D%22round%22%20stroke-opacity%3D%22.3%22%20stroke-width%3D%22.7%22%20d%3D%22m11.7%206l-6.3%205l-.3.3l-.1.3l.1.4l.3.4l.6.1l.6-.4v4.8l.2.7l.3.5l.3.4l.4.2l.6.3h7l.5-.1l.5-.2l.4-.4l.3-.4l.2-.5l.1-5.2v-.1l.6.4l.5-.1l.4-.4l.1-.6l-.3-.4l-6.2-4.8l-.3-.2zm-.6%208h1.7l.4.1l.3.4l.1.4v3.3l-3.2-.1v-3.3l.2-.6z%22%20class%3D%22wm-shadow%22%2F%3E%3Cpath%20stroke%3D%22%231545c2%22%20stroke-linejoin%3D%22round%22%20stroke-opacity%3D%22.6%22%20stroke-width%3D%22.8%22%20d%3D%22m11.74%205.61l-.31.18l-6.03%204.76l-.17.15l-.14.21l-.08.31l.06.32l.16.26l.22.17l.26.08h.26l.26-.1l.36-.27l.05.06v4.74l.05.41l.09.31l.12.26l.17.26l.35.37l.37.24l.31.13l.31.07l.37.03h6.6l.52-.1l.47-.22l.41-.34l.32-.44l.2-.52l.06-.36v-4.84l.05-.06l.36.27l.21.09l.26.02l.26-.07l.26-.18l.15-.22l.08-.31l-.04-.26l-.13-.26l-.16-.16l-6.14-4.85l-.16-.1l-.2-.07l-.16-.02zm-.65%207.95l.29-.03l1.45.01l.21.07l.19.11l.12.11l.15.2l.09.21l.03.26l-.01%203.23l-3.12.02l-.11-.03l.01-3.38l.11-.31l.15-.2l.21-.17z%22%2F%3E%3Cpath%20fill%3D%22url(%23SVGzMr8YbKB)%22%20fill-rule%3D%22evenodd%22%20d%3D%22m11.74%205.61l-.31.18l-6.03%204.76l-.17.15l-.14.21l-.08.31l.06.32l.16.26l.22.17l.26.08h.26l.26-.1l.36-.27l.05.06v4.74l.05.41l.09.31l.12.26l.17.26l.35.37l.37.24l.31.13l.31.07l.37.03h6.6l.52-.1l.47-.22l.41-.34l.32-.44l.2-.52l.06-.36v-4.84l.05-.06l.36.27l.21.09l.26.02l.26-.07l.26-.18l.15-.22l.08-.31l-.04-.26l-.13-.26l-.16-.16l-6.14-4.85l-.16-.1l-.2-.07l-.16-.02zm-.65%207.95l.29-.03l1.45.01l.21.07l.19.11l.12.11l.15.2l.09.21l.03.26l-.01%203.23l-3.12.02l-.11-.03l.01-3.38l.11-.31l.15-.2l.21-.17z%22%2F%3E%3Cpath%20fill%3D%22%231545c2%22%20fill-opacity%3D%22.22%22%20fill-rule%3D%22evenodd%22%20d%3D%22m5.03%2011.15l.04.39l.16.26l.22.17l.26.08h.26l.26-.1l.41-.31l-.05-.32l-.36.27l-.26.09l-.26.01l-.26-.09l-.21-.16zm13.94-.01l-.21.3l-.26.19l-.26.06l-.26-.02l-.57-.35l-.05.32l.41.31l.21.09l.26.02l.26-.07l.26-.18l.15-.22zm-7.85%202.06l-.27.1l-.31.32l-.15.36l.02.21l.24-.37l.47-.26l1.71-.01l.22.07l.3.21l.23.36l.03.22l-.01-.48l-.1-.26l-.15-.21l-.31-.21l-.21-.07zm6.24%202.97v.36l-.26.57l-.32.43l-.42.35l-.46.21l-.52.1l-6.97-.02l-.62-.21l-.37-.24l-.52-.61l-.2-.55l-.04.12l.12.52l.33.57l.31.32l.37.24l.62.2l6.97.03l.52-.1l.46-.22l.44-.36l.3-.42l.2-.52z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}给 首页 加一点动效
单文件 CSS 即可播放,无需任何依赖;描画动效仅对描边类图标生效。
呼吸
透明度往复渐变,适合状态提示与在线指示。
.icon-home {
animation: icon-breathe 1.8s ease-in-out infinite;
}
@keyframes icon-breathe {
0%, 100% { opacity: 1; }
50% { opacity: 0.35; }
}旋转
匀速循环旋转,适合加载中场景。
.icon-home {
animation: icon-spin 1.6s linear infinite;
}
@keyframes icon-spin {
to { transform: rotate(360deg); }
}描画
线条从无到有依次绘出,适合线性图标与首屏引导。
.icon-home path {
stroke-dasharray: 120;
animation: icon-draw 1.2s ease forwards;
}
@keyframes icon-draw {
from { stroke-dashoffset: 120; }
to { stroke-dashoffset: 0; }
}SVG 健康报告
对源文件的客观技术指标,供工程侧评估引用方式。
文件体积
4.54 KB
4,652 字节
viewBox
0 0 24 24
矢量坐标系
图元总数
8
<path> ×8
风格
多色填充
描边可随字号加粗
同时含 width/height 与 viewBox:可以只保留 viewBox,让图标跟随容器自适应缩放。 文件体积 4.54 KB(4,652 字节),图元 8 个,风格为多色填充。
常见问题
关于 首页 图标的下载、商用与改色。
首页 图标是什么?▾
它是 with icons Dock(withicons-dock)开源图标集中的 home 图标,多色填充,viewBox 为 0 0 24 24,文件仅 4.54 KB,矢量格式可无损缩放到任意尺寸。
如何下载 首页 图标?▾
点击「下载与导出」中的 SVG 源文件按钮保存矢量文件;也可以按 512 / 256 / 128 / 64 / 32 / 16px 预设导出 PNG,或在输入框填 16~1024 之间的任意尺寸。需要 iOS、Android 全套尺寸时,用素材包生成器一键打包。
首页 图标可以商用吗?▾
该图标采用 MIT(MIT) 开源协议,通常允许在遵守协议的前提下免费使用,常见要求是保留作者版权声明。商用前建议阅读协议原文确认。
如何修改 首页 图标的颜色?▾
在「预览与场景」的色板中切换颜色,三底色与全部场景会实时跟随;点击任一相近图标可打开预览弹层,复制对应颜色的 SVG 源码或 PNG。也可以复制 SVG 源码后自行修改 fill 值。