train-01 from Huge Icons by Hugeicons · Stroke · MIT Free for personal and commercial use.

Name
train-01
Set
Huge Icons
Style
Stroke
Viewbox
24×24
License
MIT

Related icons in Huge Icons

Use the train 01 icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5"><path stroke-linejoin="round" d="M4 11v-1c0-3.771 0-5.657 1.172-6.828S8.229 2 12 2s5.657 0 6.828 1.172S20 6.229 20 10v1c0 3.771 0 5.657-1.172 6.828S15.771 19 12 19s-5.657 0-6.828-1.172S4 14.771 4 11Z"/><path stroke-linejoin="round" d="M4 12s3.733 1 8 1s8-1 8-1"/><path stroke-linecap="round" stroke-linejoin="round" d="m7 19l-2 3m12-3l2 3"/><path stroke-linecap="round" d="M4.5 16h2m11 0h2M5 5h14"/></g></svg>

React

import type { SVGProps } from "react";

export function HugeiconsTrain01(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" strokeWidth="1.5"><path strokeLinejoin="round" d="M4 11v-1c0-3.771 0-5.657 1.172-6.828S8.229 2 12 2s5.657 0 6.828 1.172S20 6.229 20 10v1c0 3.771 0 5.657-1.172 6.828S15.771 19 12 19s-5.657 0-6.828-1.172S4 14.771 4 11Z"/><path strokeLinejoin="round" d="M4 12s3.733 1 8 1s8-1 8-1"/><path strokeLinecap="round" strokeLinejoin="round" d="m7 19l-2 3m12-3l2 3"/><path strokeLinecap="round" d="M4.5 16h2m11 0h2M5 5h14"/></g></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5"><path stroke-linejoin="round" d="M4 11v-1c0-3.771 0-5.657 1.172-6.828S8.229 2 12 2s5.657 0 6.828 1.172S20 6.229 20 10v1c0 3.771 0 5.657-1.172 6.828S15.771 19 12 19s-5.657 0-6.828-1.172S4 14.771 4 11Z"/><path stroke-linejoin="round" d="M4 12s3.733 1 8 1s8-1 8-1"/><path stroke-linecap="round" stroke-linejoin="round" d="m7 19l-2 3m12-3l2 3"/><path stroke-linecap="round" d="M4.5 16h2m11 0h2M5 5h14"/></g></svg>
</template>

CSS

.icon-train-01 {
  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%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.5%22%3E%3Cpath%20stroke-linejoin%3D%22round%22%20d%3D%22M4%2011v-1c0-3.771%200-5.657%201.172-6.828S8.229%202%2012%202s5.657%200%206.828%201.172S20%206.229%2020%2010v1c0%203.771%200%205.657-1.172%206.828S15.771%2019%2012%2019s-5.657%200-6.828-1.172S4%2014.771%204%2011Z%22%2F%3E%3Cpath%20stroke-linejoin%3D%22round%22%20d%3D%22M4%2012s3.733%201%208%201s8-1%208-1%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22m7%2019l-2%203m12-3l2%203%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20d%3D%22M4.5%2016h2m11%200h2M5%205h14%22%2F%3E%3C%2Fg%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%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.5%22%3E%3Cpath%20stroke-linejoin%3D%22round%22%20d%3D%22M4%2011v-1c0-3.771%200-5.657%201.172-6.828S8.229%202%2012%202s5.657%200%206.828%201.172S20%206.229%2020%2010v1c0%203.771%200%205.657-1.172%206.828S15.771%2019%2012%2019s-5.657%200-6.828-1.172S4%2014.771%204%2011Z%22%2F%3E%3Cpath%20stroke-linejoin%3D%22round%22%20d%3D%22M4%2012s3.733%201%208%201s8-1%208-1%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22m7%2019l-2%203m12-3l2%203%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20d%3D%22M4.5%2016h2m11%200h2M5%205h14%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

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