IconHubAI 生成 SVG 图标库
首页浏览图标我的收藏更新日志
首页 / 交通出行 / 红绿灯 traffic-light

红绿灯 traffic-light

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

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

关键词

红绿灯交通灯信号灯traffic lightsignal

使用代码

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="M6.8 2.4h10.4v14.4a2.8 2.8 0 0 1-2.8 2.8H9.6a2.8 2.8 0 0 1-2.8-2.8ZM12 5.4a1.5 1.5 0 1 0 0 3a1.5 1.5 0 1 0 0 -3ZM12 9.5a1.5 1.5 0 1 0 0 3a1.5 1.5 0 1 0 0 -3ZM12 13.6a1.5 1.5 0 1 0 0 3a1.5 1.5 0 1 0 0 -3Z"/><path d="M13.00 19.60L13.00 21.40L11.00 21.40L11.00 19.60Z"/><path d="M8.40 20.40L15.60 20.40L15.60 22.40L8.40 22.40Z"/>
</svg>
SVG Symbol 用法
<svg width="24" height="24" aria-hidden="true">
  <use href="/sprite.svg#icon-filled-traffic-light"/>
</svg>
React 组件
export default function TrafficLightIcon(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="M6.8 2.4h10.4v14.4a2.8 2.8 0 0 1-2.8 2.8H9.6a2.8 2.8 0 0 1-2.8-2.8ZM12 5.4a1.5 1.5 0 1 0 0 3a1.5 1.5 0 1 0 0 -3ZM12 9.5a1.5 1.5 0 1 0 0 3a1.5 1.5 0 1 0 0 -3ZM12 13.6a1.5 1.5 0 1 0 0 3a1.5 1.5 0 1 0 0 -3Z"/><path d="M13.00 19.60L13.00 21.40L11.00 21.40L11.00 19.60Z"/><path d="M8.40 20.40L15.60 20.40L15.60 22.40L8.40 22.40Z"/>
    </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="M6.8 2.4h10.4v14.4a2.8 2.8 0 0 1-2.8 2.8H9.6a2.8 2.8 0 0 1-2.8-2.8ZM12 5.4a1.5 1.5 0 1 0 0 3a1.5 1.5 0 1 0 0 -3ZM12 9.5a1.5 1.5 0 1 0 0 3a1.5 1.5 0 1 0 0 -3ZM12 13.6a1.5 1.5 0 1 0 0 3a1.5 1.5 0 1 0 0 -3Z"/><path d="M13.00 19.60L13.00 21.40L11.00 21.40L11.00 19.60Z"/><path d="M8.40 20.40L15.60 20.40L15.60 22.40L8.40 22.40Z"/>
  </svg>
</template>

<script setup>
defineOptions({ name: 'TrafficLightIcon' });
</script>
← 车票 火车 →

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

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