train-2-line from MingCute Icon by MingCute Design · Line · Apache-2.0 Free for personal and commercial use.

Name
train-2-line
Set
MingCute Icon
Style
Line
Viewbox
24×24
License
Apache 2.0

1 other variant in MingCute Icon

Related icons in MingCute Icon

Use the train 2 icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m5 21l4-3m6 0l4 3M7.5 11h9a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5h-9a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5M7 18h10a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3H7a3 3 0 0 0-3 3v9a3 3 0 0 0 3 3"/><path fill="currentColor" d="M9.5 14.5a1.25 1.25 0 1 1-2.5 0a1.25 1.25 0 0 1 2.5 0m7.5 0a1.25 1.25 0 1 1-2.5 0a1.25 1.25 0 0 1 2.5 0"/></svg>

React

import type { SVGProps } from "react";

export function MingcuteTrain2Line(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="m5 21l4-3m6 0l4 3M7.5 11h9a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5h-9a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5M7 18h10a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3H7a3 3 0 0 0-3 3v9a3 3 0 0 0 3 3"/><path fill="currentColor" d="M9.5 14.5a1.25 1.25 0 1 1-2.5 0a1.25 1.25 0 0 1 2.5 0m7.5 0a1.25 1.25 0 1 1-2.5 0a1.25 1.25 0 0 1 2.5 0"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m5 21l4-3m6 0l4 3M7.5 11h9a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5h-9a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5M7 18h10a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3H7a3 3 0 0 0-3 3v9a3 3 0 0 0 3 3"/><path fill="currentColor" d="M9.5 14.5a1.25 1.25 0 1 1-2.5 0a1.25 1.25 0 0 1 2.5 0m7.5 0a1.25 1.25 0 1 1-2.5 0a1.25 1.25 0 0 1 2.5 0"/></svg>
</template>

CSS

.icon-train-2-line {
  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%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22m5%2021l4-3m6%200l4%203M7.5%2011h9a.5.5%200%200%200%20.5-.5v-3a.5.5%200%200%200-.5-.5h-9a.5.5%200%200%200-.5.5v3a.5.5%200%200%200%20.5.5M7%2018h10a3%203%200%200%200%203-3V6a3%203%200%200%200-3-3H7a3%203%200%200%200-3%203v9a3%203%200%200%200%203%203%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M9.5%2014.5a1.25%201.25%200%201%201-2.5%200a1.25%201.25%200%200%201%202.5%200m7.5%200a1.25%201.25%200%201%201-2.5%200a1.25%201.25%200%200%201%202.5%200%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%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22m5%2021l4-3m6%200l4%203M7.5%2011h9a.5.5%200%200%200%20.5-.5v-3a.5.5%200%200%200-.5-.5h-9a.5.5%200%200%200-.5.5v3a.5.5%200%200%200%20.5.5M7%2018h10a3%203%200%200%200%203-3V6a3%203%200%200%200-3-3H7a3%203%200%200%200-3%203v9a3%203%200%200%200%203%203%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M9.5%2014.5a1.25%201.25%200%201%201-2.5%200a1.25%201.25%200%200%201%202.5%200m7.5%200a1.25%201.25%200%201%201-2.5%200a1.25%201.25%200%200%201%202.5%200%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

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