IconHubAI 生成 SVG 图标库
首页浏览图标我的收藏更新日志
首页 / 交通出行 / 火车 train

火车 train

面性风格 · 交通出行 · 收录于 2026-09-27 · viewBox 0 0 24 24

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

关键词

火车高铁列车轨道交通trainrailway

使用代码

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="M4.6 3.2h14.8v15a2.6 2.6 0 0 1-2.6 2.6H7.2a2.6 2.6 0 0 1-2.6-2.6Zm2.2 2.2h4.8v5H6.8Zm5.6 0h4.8v5h-4.8ZM8.5 13.6a1 1 0 1 0 0 2a1 1 0 1 0 0 -2ZM15.5 13.6a1 1 0 1 0 0 2a1 1 0 1 0 0 -2Z"/><path d="M7.62 20.55L9.22 17.75L10.78 18.65L9.18 21.45Z"/><path d="M14.82 21.45L13.22 18.65L14.78 17.75L16.38 20.55Z"/>
</svg>
SVG Symbol 用法
<svg width="24" height="24" aria-hidden="true">
  <use href="/sprite.svg#icon-filled-train"/>
</svg>
React 组件
export default function TrainIcon(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="M4.6 3.2h14.8v15a2.6 2.6 0 0 1-2.6 2.6H7.2a2.6 2.6 0 0 1-2.6-2.6Zm2.2 2.2h4.8v5H6.8Zm5.6 0h4.8v5h-4.8ZM8.5 13.6a1 1 0 1 0 0 2a1 1 0 1 0 0 -2ZM15.5 13.6a1 1 0 1 0 0 2a1 1 0 1 0 0 -2Z"/><path d="M7.62 20.55L9.22 17.75L10.78 18.65L9.18 21.45Z"/><path d="M14.82 21.45L13.22 18.65L14.78 17.75L16.38 20.55Z"/>
    </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="M4.6 3.2h14.8v15a2.6 2.6 0 0 1-2.6 2.6H7.2a2.6 2.6 0 0 1-2.6-2.6Zm2.2 2.2h4.8v5H6.8Zm5.6 0h4.8v5h-4.8ZM8.5 13.6a1 1 0 1 0 0 2a1 1 0 1 0 0 -2ZM15.5 13.6a1 1 0 1 0 0 2a1 1 0 1 0 0 -2Z"/><path d="M7.62 20.55L9.22 17.75L10.78 18.65L9.18 21.45Z"/><path d="M14.82 21.45L13.22 18.65L14.78 17.75L16.38 20.55Z"/>
  </svg>
</template>

<script setup>
defineOptions({ name: 'TrainIcon' });
</script>
← 红绿灯 飞机 →

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

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