train from Material Symbols Light by Google · Regular · Transit · Apache-2.0 Free for personal and commercial use.

Name
train
Set
Material Symbols Light
Style
Regular
Category
Transit
Viewbox
24×24
License
Apache 2.0
Aliases
train-sharp

3 other variants in Material Symbols Light

The same icon in other sets

More transit icons from Material Symbols Light

Use the train icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M5 15.116V6q0-.979.563-1.574t1.524-.912T9.322 3.1T12 3q1.458 0 2.728.099t2.223.413t1.501.911T19 6v9.116q0 1.205-.84 2.045q-.839.839-2.044.839l1.5 1.5v.5h-.847l-2-2H9.231l-2 2h-.846v-.5l1.5-1.5q-1.206 0-2.045-.84Q5 16.322 5 15.116M6 11h5.5V6.539H6zm6.5 0H18V6.539h-5.5zm-3.204 4.3q.32-.314.32-.796q0-.481-.315-.8t-.796-.32t-.801.315t-.32.796t.315.801t.797.32t.8-.315m7 0q.32-.315.32-.796t-.315-.801t-.796-.32t-.801.315t-.32.796t.315.801t.796.32t.801-.315"/></svg>

React

import type { SVGProps } from "react";

export function MaterialSymbolsLightTrain(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M5 15.116V6q0-.979.563-1.574t1.524-.912T9.322 3.1T12 3q1.458 0 2.728.099t2.223.413t1.501.911T19 6v9.116q0 1.205-.84 2.045q-.839.839-2.044.839l1.5 1.5v.5h-.847l-2-2H9.231l-2 2h-.846v-.5l1.5-1.5q-1.206 0-2.045-.84Q5 16.322 5 15.116M6 11h5.5V6.539H6zm6.5 0H18V6.539h-5.5zm-3.204 4.3q.32-.314.32-.796q0-.481-.315-.8t-.796-.32t-.801.315t-.32.796t.315.801t.797.32t.8-.315m7 0q.32-.315.32-.796t-.315-.801t-.796-.32t-.801.315t-.32.796t.315.801t.796.32t.801-.315"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M5 15.116V6q0-.979.563-1.574t1.524-.912T9.322 3.1T12 3q1.458 0 2.728.099t2.223.413t1.501.911T19 6v9.116q0 1.205-.84 2.045q-.839.839-2.044.839l1.5 1.5v.5h-.847l-2-2H9.231l-2 2h-.846v-.5l1.5-1.5q-1.206 0-2.045-.84Q5 16.322 5 15.116M6 11h5.5V6.539H6zm6.5 0H18V6.539h-5.5zm-3.204 4.3q.32-.314.32-.796q0-.481-.315-.8t-.796-.32t-.801.315t-.32.796t.315.801t.797.32t.8-.315m7 0q.32-.315.32-.796t-.315-.801t-.796-.32t-.801.315t-.32.796t.315.801t.796.32t.801-.315"/></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%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M5%2015.116V6q0-.979.563-1.574t1.524-.912T9.322%203.1T12%203q1.458%200%202.728.099t2.223.413t1.501.911T19%206v9.116q0%201.205-.84%202.045q-.839.839-2.044.839l1.5%201.5v.5h-.847l-2-2H9.231l-2%202h-.846v-.5l1.5-1.5q-1.206%200-2.045-.84Q5%2016.322%205%2015.116M6%2011h5.5V6.539H6zm6.5%200H18V6.539h-5.5zm-3.204%204.3q.32-.314.32-.796q0-.481-.315-.8t-.796-.32t-.801.315t-.32.796t.315.801t.797.32t.8-.315m7%200q.32-.315.32-.796t-.315-.801t-.796-.32t-.801.315t-.32.796t.315.801t.796.32t.801-.315%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%22currentColor%22%20d%3D%22M5%2015.116V6q0-.979.563-1.574t1.524-.912T9.322%203.1T12%203q1.458%200%202.728.099t2.223.413t1.501.911T19%206v9.116q0%201.205-.84%202.045q-.839.839-2.044.839l1.5%201.5v.5h-.847l-2-2H9.231l-2%202h-.846v-.5l1.5-1.5q-1.206%200-2.045-.84Q5%2016.322%205%2015.116M6%2011h5.5V6.539H6zm6.5%200H18V6.539h-5.5zm-3.204%204.3q.32-.314.32-.796q0-.481-.315-.8t-.796-.32t-.801.315t-.32.796t.315.801t.797.32t.8-.315m7%200q.32-.315.32-.796t-.315-.801t-.796-.32t-.801.315t-.32.796t.315.801t.796.32t.801-.315%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

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