The Standard Icon Set

Vehicles

Train icon

A rounded train front with a split windshield, two headlight dots, and two legs angled out. Use for trains, rail travel, or transit.

Also searched as rail, transit, subway.

SVG
PNG
Size
Weight

Sizes

  • 16
  • 18
  • 20
  • 22
  • 24
  • 28
  • 32
  • 40
  • 48

Use it

Format
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="3.5" y="2.5" width="9" height="9" rx="2" stroke="currentColor" stroke-linejoin="round" stroke-width="1.182"/><path d="M3.5 7H12.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.182"/><path d="M8 2.5V7" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.182"/><path d="M5.5 11.5L4 13.5M10.5 11.5L12 13.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.182"/><path d="M6.6 9.25C6.6 9.329 6.584 9.407 6.554 9.48C6.524 9.553 6.48 9.619 6.424 9.675C6.368 9.73 6.302 9.775 6.23 9.805C6.157 9.835 6.079 9.85 6 9.85C5.921 9.85 5.843 9.835 5.77 9.805C5.697 9.775 5.631 9.73 5.576 9.675C5.52 9.619 5.476 9.553 5.446 9.48C5.415 9.407 5.4 9.329 5.4 9.25C5.4 9.172 5.415 9.094 5.446 9.021C5.476 8.948 5.52 8.882 5.576 8.826C5.631 8.77 5.697 8.726 5.77 8.696C5.843 8.666 5.921 8.65 6 8.65C6.079 8.65 6.157 8.666 6.23 8.696C6.302 8.726 6.368 8.77 6.424 8.826C6.48 8.882 6.524 8.948 6.554 9.021C6.584 9.094 6.6 9.172 6.6 9.25Z" fill="currentColor"/><path d="M10.6 9.25C10.6 9.41 10.537 9.562 10.424 9.675C10.312 9.787 10.159 9.85 10 9.85C9.841 9.85 9.688 9.787 9.576 9.675C9.463 9.562 9.4 9.41 9.4 9.25C9.4 9.091 9.463 8.939 9.576 8.826C9.688 8.714 9.841 8.65 10 8.65C10.159 8.65 10.312 8.714 10.424 8.826C10.537 8.939 10.6 9.091 10.6 9.25Z" fill="currentColor"/></svg>

Paste it into HTML. It draws in currentColor, so it takes the colour of the text around it.