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="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
  <rect x="5" y="3.5" width="14" height="14.5" rx="2.5"/><path d="M5 10.5h14"/><path d="M12 3.5v7"/><path d="M8.5 14.5h.01"/><path d="M15.5 14.5h.01"/><path d="m8 21 1.5-3"/><path d="m16 21-1.5-3"/>
</svg>
SVG Symbol 用法
<svg width="24" height="24" aria-hidden="true">
  <use href="/sprite.svg#icon-linear-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="none" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" {...props}>
      <rect x="5" y="3.5" width="14" height="14.5" rx="2.5"/><path d="M5 10.5h14"/><path d="M12 3.5v7"/><path d="M8.5 14.5h.01"/><path d="M15.5 14.5h.01"/><path d="m8 21 1.5-3"/><path d="m16 21-1.5-3"/>
    </svg>
  );
}
Vue 组件
<template>
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="1em" height="1em" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
    <rect x="5" y="3.5" width="14" height="14.5" rx="2.5"/><path d="M5 10.5h14"/><path d="M12 3.5v7"/><path d="M8.5 14.5h.01"/><path d="M15.5 14.5h.01"/><path d="m8 21 1.5-3"/><path d="m16 21-1.5-3"/>
  </svg>
</template>

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

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

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