Train icon

Train icon from the Biskit set (Transport): a 24 px line icon with a 1.5 px stroke. Copy the SVG or PNG, or take the code for React, Vue and Svelte.

Also found as: train, railway, metro, subway, transit.

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M4.5 8V11.5C4.5 14.328 4.5 15.743 5.379 16.621C6.257 17.5 7.672 17.5 10.5 17.5H13.5C16.328 17.5 17.743 17.5 18.621 16.621C19.5 15.743 19.5 14.328 19.5 11.5V8C19.5 5.172 19.5 3.757 18.621 2.879C17.743 2 16.328 2 13.5 2H10.5C7.672 2 6.257 2 5.379 2.879C4.5 3.757 4.5 5.172 4.5 8Z" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/><path d="M7.5 7.5C7.5 6.321 7.5 5.732 7.866 5.366C8.232 5 8.821 5 10 5H14C15.178 5 15.768 5 16.134 5.366C16.5 5.732 16.5 6.321 16.5 7.5C16.5 8.679 16.5 9.268 16.134 9.634C15.768 10 15.178 10 14 10H10C8.821 10 8.232 10 7.866 9.634C7.5 9.268 7.5 8.679 7.5 7.5Z" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/><path d="M8.745 13.75H8.755" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/><path d="M15.245 13.75H15.255" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/><path d="M8.5 20L6.5 22" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/><path d="M15.5 20L17.5 22" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/></svg>

More Transport icons

All 21 Transport icons