train from IonIcons by Ben Sperry · Regular · MIT Free for personal and commercial use.

Name
train
Set
IonIcons
Style
Regular
Viewbox
512×512
License
MIT

2 other variants in IonIcons

The same icon in other sets

Use the train icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><ellipse cx="256" cy="304" fill="currentColor" rx="32.05" ry="31.94" transform="rotate(-45 256.001 304)"/><path fill="currentColor" d="M352 32h-15a10 10 0 0 1-7.87-3.78A31.94 31.94 0 0 0 304 16h-96a32 32 0 0 0-26.11 13.52A6 6 0 0 1 177 32h-17c-36.81 0-64 28.84-64 64v255c0 23.27 25.6 42.06 83 60.94a753 753 0 0 0 73.77 19.73a16 16 0 0 0 6.46 0A753 753 0 0 0 333 411.94c57.4-18.88 83-37.67 83-60.94V96a64 64 0 0 0-64-64m-168 96h144a8 8 0 0 1 8 8v48a8 8 0 0 1-8 8H184a8 8 0 0 1-8-8v-48a8 8 0 0 1 8-8m76.18 239.87a64 64 0 1 1 59.69-59.69a64.07 64.07 0 0 1-59.69 59.69"/><path fill="currentColor" d="M395.31 468.69L347.63 421c-6.09-6.1-16-6.66-22.38-.86a16 16 0 0 0-.56 23.16l4.68 4.69H182.63l4.36-4.37c6.1-6.09 6.66-16 .86-22.38a16 16 0 0 0-23.16-.56l-48 48a16 16 0 1 0 22.62 22.62l11.32-11.3h210.74l11.32 11.31a16 16 0 0 0 22.62-22.62"/></svg>

React

import type { SVGProps } from "react";

export function IonTrain(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><ellipse cx="256" cy="304" fill="currentColor" rx="32.05" ry="31.94" transform="rotate(-45 256.001 304)"/><path fill="currentColor" d="M352 32h-15a10 10 0 0 1-7.87-3.78A31.94 31.94 0 0 0 304 16h-96a32 32 0 0 0-26.11 13.52A6 6 0 0 1 177 32h-17c-36.81 0-64 28.84-64 64v255c0 23.27 25.6 42.06 83 60.94a753 753 0 0 0 73.77 19.73a16 16 0 0 0 6.46 0A753 753 0 0 0 333 411.94c57.4-18.88 83-37.67 83-60.94V96a64 64 0 0 0-64-64m-168 96h144a8 8 0 0 1 8 8v48a8 8 0 0 1-8 8H184a8 8 0 0 1-8-8v-48a8 8 0 0 1 8-8m76.18 239.87a64 64 0 1 1 59.69-59.69a64.07 64.07 0 0 1-59.69 59.69"/><path fill="currentColor" d="M395.31 468.69L347.63 421c-6.09-6.1-16-6.66-22.38-.86a16 16 0 0 0-.56 23.16l4.68 4.69H182.63l4.36-4.37c6.1-6.09 6.66-16 .86-22.38a16 16 0 0 0-23.16-.56l-48 48a16 16 0 1 0 22.62 22.62l11.32-11.3h210.74l11.32 11.31a16 16 0 0 0 22.62-22.62"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><ellipse cx="256" cy="304" fill="currentColor" rx="32.05" ry="31.94" transform="rotate(-45 256.001 304)"/><path fill="currentColor" d="M352 32h-15a10 10 0 0 1-7.87-3.78A31.94 31.94 0 0 0 304 16h-96a32 32 0 0 0-26.11 13.52A6 6 0 0 1 177 32h-17c-36.81 0-64 28.84-64 64v255c0 23.27 25.6 42.06 83 60.94a753 753 0 0 0 73.77 19.73a16 16 0 0 0 6.46 0A753 753 0 0 0 333 411.94c57.4-18.88 83-37.67 83-60.94V96a64 64 0 0 0-64-64m-168 96h144a8 8 0 0 1 8 8v48a8 8 0 0 1-8 8H184a8 8 0 0 1-8-8v-48a8 8 0 0 1 8-8m76.18 239.87a64 64 0 1 1 59.69-59.69a64.07 64.07 0 0 1-59.69 59.69"/><path fill="currentColor" d="M395.31 468.69L347.63 421c-6.09-6.1-16-6.66-22.38-.86a16 16 0 0 0-.56 23.16l4.68 4.69H182.63l4.36-4.37c6.1-6.09 6.66-16 .86-22.38a16 16 0 0 0-23.16-.56l-48 48a16 16 0 1 0 22.62 22.62l11.32-11.3h210.74l11.32 11.31a16 16 0 0 0 22.62-22.62"/></svg>
</template>

CSS

.icon-train {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cellipse%20cx%3D%22256%22%20cy%3D%22304%22%20fill%3D%22currentColor%22%20rx%3D%2232.05%22%20ry%3D%2231.94%22%20transform%3D%22rotate(-45%20256.001%20304)%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M352%2032h-15a10%2010%200%200%201-7.87-3.78A31.94%2031.94%200%200%200%20304%2016h-96a32%2032%200%200%200-26.11%2013.52A6%206%200%200%201%20177%2032h-17c-36.81%200-64%2028.84-64%2064v255c0%2023.27%2025.6%2042.06%2083%2060.94a753%20753%200%200%200%2073.77%2019.73a16%2016%200%200%200%206.46%200A753%20753%200%200%200%20333%20411.94c57.4-18.88%2083-37.67%2083-60.94V96a64%2064%200%200%200-64-64m-168%2096h144a8%208%200%200%201%208%208v48a8%208%200%200%201-8%208H184a8%208%200%200%201-8-8v-48a8%208%200%200%201%208-8m76.18%20239.87a64%2064%200%201%201%2059.69-59.69a64.07%2064.07%200%200%201-59.69%2059.69%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M395.31%20468.69L347.63%20421c-6.09-6.1-16-6.66-22.38-.86a16%2016%200%200%200-.56%2023.16l4.68%204.69H182.63l4.36-4.37c6.1-6.09%206.66-16%20.86-22.38a16%2016%200%200%200-23.16-.56l-48%2048a16%2016%200%201%200%2022.62%2022.62l11.32-11.3h210.74l11.32%2011.31a16%2016%200%200%200%2022.62-22.62%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cellipse%20cx%3D%22256%22%20cy%3D%22304%22%20fill%3D%22currentColor%22%20rx%3D%2232.05%22%20ry%3D%2231.94%22%20transform%3D%22rotate(-45%20256.001%20304)%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M352%2032h-15a10%2010%200%200%201-7.87-3.78A31.94%2031.94%200%200%200%20304%2016h-96a32%2032%200%200%200-26.11%2013.52A6%206%200%200%201%20177%2032h-17c-36.81%200-64%2028.84-64%2064v255c0%2023.27%2025.6%2042.06%2083%2060.94a753%20753%200%200%200%2073.77%2019.73a16%2016%200%200%200%206.46%200A753%20753%200%200%200%20333%20411.94c57.4-18.88%2083-37.67%2083-60.94V96a64%2064%200%200%200-64-64m-168%2096h144a8%208%200%200%201%208%208v48a8%208%200%200%201-8%208H184a8%208%200%200%201-8-8v-48a8%208%200%200%201%208-8m76.18%20239.87a64%2064%200%201%201%2059.69-59.69a64.07%2064.07%200%200%201-59.69%2059.69%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M395.31%20468.69L347.63%20421c-6.09-6.1-16-6.66-22.38-.86a16%2016%200%200%200-.56%2023.16l4.68%204.69H182.63l4.36-4.37c6.1-6.09%206.66-16%20.86-22.38a16%2016%200%200%200-23.16-.56l-48%2048a16%2016%200%201%200%2022.62%2022.62l11.32-11.3h210.74l11.32%2011.31a16%2016%200%200%200%2022.62-22.62%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/ion/train.svg?color=%231a73e8&size=48