Train icon
A free train icon in 5 styles, drawn by hand on a 24px grid. Copy it as SVG or JSX or install it from npm, for personal or commercial use.
- Size
- 24 × 24, scales to any size
- License
- Free, credit optional (terms)
- Tags
- railway, transportation, locomotive, travel, commute, railroad, train, metro, subway train, rail
Install from npm (React, MIT)
npm i @pikaicons/react @pikaicons/core-free
import { PikaIcon } from "@pikaicons/react";
import { TrainIcon } from "@pikaicons/core-free";
<PikaIcon icon={TrainIcon} />
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 9.4c0-2.24 0-3.36.44-4.22.38-.75.99-1.36 1.74-1.74C7.04 3 8.16 3 10.4 3h3.2c2.24 0 3.36 0 4.22.44.75.38 1.36.99 1.74 1.74.44.86.44 1.98.44 4.22v6.4c0 1.12 0 1.68-.22 2.11-.19.37-.5.68-.87.87-.43.22-.99.22-2.11.22H7.2c-1.12 0-1.68 0-2.11-.22-.37-.19-.68-.5-.87-.87C4 17.48 4 16.92 4 15.8z"/>
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 13h16"/>
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 16h1"/>
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 16h1"/>
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m8 19-2 3"/>
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m16 19 2 3"/>
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 3v10"/>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
<path fill="currentColor" fill-rule="evenodd" d="M13.6 2c1.1 0 1.99 0 2.71.06.73.06 1.37.18 1.96.48.94.48 1.71 1.25 2.19 2.19l.1.22c.23.53.33 1.1.38 1.74.06.72.06 1.61.06 2.71v6.4c0 .54 0 1.01-.03 1.4-.03.34-.09.69-.23 1.02l-.07.14c-.25.5-.63.91-1.1 1.2l-.21.11c-.38.2-.77.27-1.16.3-.11.01-.22.01-.34.02l.97 1.46c.31.45.18 1.08-.28 1.38-.45.31-1.08.18-1.38-.28L15.46 20H8.54l-1.71 2.55c-.3.46-.93.59-1.38.28-.46-.3-.59-.93-.28-1.38l.97-1.46c-.12-.01-.23-.01-.34-.02-.34-.03-.69-.09-1.02-.23l-.14-.07c-.57-.28-1.03-.74-1.31-1.31-.2-.38-.27-.77-.3-1.16S3 16.34 3 15.8V9.4c0-1.1 0-1.99.06-2.71.06-.73.18-1.37.48-1.96.48-.94 1.25-1.71 2.19-2.19.59-.3 1.23-.42 1.96-.48C8.41 2 9.3 2 10.4 2zM7 15c-.55 0-1 .45-1 1s.45 1 1 1h1c.55 0 1-.45 1-1s-.45-1-1-1zm9 0c-.55 0-1 .45-1 1s.45 1 1 1h1c.55 0 1-.45 1-1s-.45-1-1-1zM10.4 4c-1.14 0-1.93 0-2.55.05-.6.05-.95.14-1.21.28-.57.28-1.03.74-1.31 1.31-.14.26-.23.61-.28 1.21C5 7.47 5 8.26 5 9.4V12h6V4zm2.6 8h6V9.4c0-1.14 0-1.93-.05-2.55-.04-.52-.12-.86-.23-1.11l-.05-.1c-.28-.57-.74-1.03-1.31-1.31-.26-.14-.61-.23-1.21-.28C15.53 4 14.74 4 13.6 4H13z" clip-rule="evenodd"/>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20 9.4V13H4V9.4c0-2.24 0-3.36.44-4.22.38-.75.99-1.36 1.74-1.74C7.04 3 8.16 3 10.4 3h3.2c2.24 0 3.36 0 4.22.44.75.38 1.36.99 1.74 1.74.44.86.44 1.98.44 4.22" opacity=".28"/>
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 3v10" opacity=".28"/>
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 16h1"/>
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 16h1"/>
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m8 19-2 3"/>
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m16 19 2 3"/>
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7.2 19h9.6c1.12 0 1.68 0 2.11-.22.37-.19.68-.5.87-.87.22-.43.22-.99.22-2.11V13H4v2.8c0 1.12 0 1.68.22 2.11.19.37.5.68.87.87.43.22.99.22 2.11.22"/>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
<path fill="currentColor" fill-rule="evenodd" d="M13.6 2c1.1 0 1.99 0 2.71.06.73.06 1.37.18 1.96.48l.17.1c.87.48 1.57 1.21 2.02 2.09l.1.22c.23.53.33 1.1.38 1.74.06.72.06 1.61.06 2.71V13c0 .55-.45 1-1 1H4c-.55 0-1-.45-1-1V9.4c0-1.1 0-1.99.06-2.71.06-.73.18-1.37.48-1.96l.1-.17c.48-.87 1.21-1.57 2.09-2.02l.22-.1c.53-.23 1.1-.33 1.74-.38C8.41 2 9.3 2 10.4 2zm-3.2 2c-1.14 0-1.93 0-2.55.05-.52.04-.86.12-1.11.23l-.1.05c-.5.25-.91.63-1.2 1.1l-.11.21c-.14.26-.23.61-.28 1.21C5 7.47 5 8.26 5 9.4V12h6V4zm2.6 8h6V9.4c0-1.14 0-1.93-.05-2.55-.04-.52-.12-.86-.23-1.11l-.05-.1c-.25-.5-.63-.91-1.1-1.2l-.21-.11c-.26-.14-.61-.23-1.21-.28C15.53 4 14.74 4 13.6 4H13z" clip-rule="evenodd" opacity=".28"/>
<path fill="currentColor" fill-rule="evenodd" d="M20.1 12c.51.06.9.48.9 1v2.8c0 .54 0 1.01-.03 1.4-.03.34-.09.69-.23 1.02l-.07.14c-.25.5-.63.91-1.1 1.2l-.21.11c-.38.2-.77.27-1.16.3-.11.01-.22.01-.34.02l.97 1.46c.31.45.18 1.08-.28 1.38-.45.31-1.08.18-1.38-.28L15.46 20H8.54l-1.71 2.55c-.3.46-.93.59-1.38.28-.46-.3-.59-.93-.28-1.38l.97-1.46c-.12-.01-.23-.01-.34-.02-.34-.03-.69-.09-1.02-.23l-.14-.07c-.57-.28-1.03-.74-1.31-1.31-.2-.38-.27-.77-.3-1.16S3 16.34 3 15.8v-2.9c.06-.51.48-.9 1-.9zM7 15c-.55 0-1 .45-1 1s.45 1 1 1h1c.55 0 1-.45 1-1s-.45-1-1-1zm9 0c-.55 0-1 .45-1 1s.45 1 1 1h1c.55 0 1-.45 1-1s-.45-1-1-1z" clip-rule="evenodd"/>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
<path fill="currentColor" d="M7.2 19h9.6c1.12 0 1.68 0 2.11-.22.37-.19.68-.5.87-.87.22-.43.22-.99.22-2.11V13H4v2.8c0 1.12 0 1.68.22 2.11.19.37.5.68.87.87.43.22.99.22 2.11.22" opacity=".28"/>
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 9.4c0-2.24 0-3.36.44-4.22.38-.75.99-1.36 1.74-1.74C7.04 3 8.16 3 10.4 3h3.2c2.24 0 3.36 0 4.22.44.75.38 1.36.99 1.74 1.74.44.86.44 1.98.44 4.22v6.4c0 1.12 0 1.68-.22 2.11-.19.37-.5.68-.87.87-.43.22-.99.22-2.11.22H7.2c-1.12 0-1.68 0-2.11-.22-.37-.19-.68-.5-.87-.87C4 17.48 4 16.92 4 15.8z"/>
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 13h16"/>
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 16h1"/>
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 16h1"/>
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m8 19-2 3"/>
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m16 19 2 3"/>
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 3v10"/>
</svg>
More Automotive & Vehicles icons
In the full library
- Airplane Flying
- Airplane Liftoff
- Airplane Touchdown
- Bus Front View
- Bus Front View Bolt
- Car Engine
- Car Front View Bolt
- Car Side View
- Cyber Truck
- Cycle Cycling
- Fuel Pump Gas
- Luggage Trolley
- Steering Wheel
- Truck Trash
See all Automotive & Vehicles iconsGet the full library
6,000+ icons across five styles, with the Figma file and the Pikaicons app, for one payment from $99. 221 of them are free to copy here.