IconHubAI 生成 SVG 图标库
首页浏览图标我的收藏更新日志
首页 / 状态反馈 / 警告 warning

警告 warning

面性风格 · 状态反馈 · 收录于 2026-09-27 · viewBox 0 0 24 24

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

关键词

警示注意危险warningalertcaution

使用代码

SVG 源码
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="currentColor" stroke="none">
  <path fill-rule="evenodd" d="M12.9 3.3a1.05 1.05 0 0 0-1.8 0L2.3 19.4a1.05 1.05 0 0 0 .9 1.6h17.6a1.05 1.05 0 0 0 .9-1.6ZM12 9.6c.58 0 1.03.5.98 1.08l-.4 4.6a.58.58 0 0 1-1.16 0l-.4-4.6A.99.99 0 0 1 12 9.6Zm0 7.4a1.2 1.2 0 1 1 0 2.4 1.2 1.2 0 0 1 0-2.4Z"/>
</svg>
SVG Symbol 用法
<svg width="24" height="24" aria-hidden="true">
  <use href="/sprite.svg#icon-filled-warning"/>
</svg>
React 组件
export default function WarningIcon(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 fill-rule="evenodd" d="M12.9 3.3a1.05 1.05 0 0 0-1.8 0L2.3 19.4a1.05 1.05 0 0 0 .9 1.6h17.6a1.05 1.05 0 0 0 .9-1.6ZM12 9.6c.58 0 1.03.5.98 1.08l-.4 4.6a.58.58 0 0 1-1.16 0l-.4-4.6A.99.99 0 0 1 12 9.6Zm0 7.4a1.2 1.2 0 1 1 0 2.4 1.2 1.2 0 0 1 0-2.4Z"/>
    </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 fill-rule="evenodd" d="M12.9 3.3a1.05 1.05 0 0 0-1.8 0L2.3 19.4a1.05 1.05 0 0 0 .9 1.6h17.6a1.05 1.05 0 0 0 .9-1.6ZM12 9.6c.58 0 1.03.5.98 1.08l-.4 4.6a.58.58 0 0 1-1.16 0l-.4-4.6A.99.99 0 0 1 12 9.6Zm0 7.4a1.2 1.2 0 1 1 0 2.4 1.2 1.2 0 0 1 0-2.4Z"/>
  </svg>
</template>

<script setup>
defineOptions({ name: 'WarningIcon' });
</script>
← 太阳 成功 →

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

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