IconHubAI 生成 SVG 图标库
首页浏览图标我的收藏更新日志
首页 / 导航布局 / 关闭 close

关闭 close

面性风格 · 导航布局 · 收录于 2026-09-27 · viewBox 0 0 24 24

风格 面性 粗线线性
16px20px24px32px48px
下载 .svg

关键词

取消叉号关闭按钮closecancelx

使用代码

SVG 源码
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="currentColor" stroke="none">
  <path d="M18.15 7.97L16.03 5.85L12 9.88L7.97 5.85L5.85 7.97L9.88 12L5.85 16.03L7.97 18.15L12 14.12L16.03 18.15L18.15 16.03L14.12 12Z"/>
</svg>
SVG Symbol 用法
<svg width="24" height="24" aria-hidden="true">
  <use href="/sprite.svg#icon-filled-close"/>
</svg>
React 组件
export default function CloseIcon(props) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="1em" height="1em" fill="currentColor" stroke="none" {...props}>
      <path d="M18.15 7.97L16.03 5.85L12 9.88L7.97 5.85L5.85 7.97L9.88 12L5.85 16.03L7.97 18.15L12 14.12L16.03 18.15L18.15 16.03L14.12 12Z"/>
    </svg>
  );
}
Vue 组件
<template>
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="1em" height="1em" fill="currentColor" stroke="none">
    <path d="M18.15 7.97L16.03 5.85L12 9.88L7.97 5.85L5.85 7.97L9.88 12L5.85 16.03L7.97 18.15L12 14.12L16.03 18.15L18.15 16.03L14.12 12Z"/>
  </svg>
</template>

<script setup>
defineOptions({ name: 'CloseIcon' });
</script>
← 下拉箭头 首页 →

IconHub · AI 生成 SVG 图标库 — 图标由 AI 生成,以 Git 仓库为唯一事实来源。

共 645 个图标 · 19 个分类 · 构建于 2026-09-27