tram-linear from Solar by 480 Design · Linear · Parts · CC-BY-4.0 Attribution required.

Name
tram-linear
Set
Solar
Style
Linear
Category
Parts
Viewbox
24×24
License
CC BY 4.0

5 other variants in Solar

The same icon in other sets

More parts icons from Solar

Use the tram 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 d="M4 10C4 6.22876 4 4.34315 5.17157 3.17157C6.34315 2 8.22876 2 12 2C15.7712 2 17.6569 2 18.8284 3.17157C20 4.34315 20 6.22876 20 10V12C20 15.7712 20 17.6569 18.8284 18.8284C17.6569 20 15.7712 20 12 20C8.22876 20 6.34315 20 5.17157 18.8284C4 17.6569 4 15.7712 4 12V10Z"/><path stroke-linecap="round" stroke-linejoin="round" d="M4 13H20"/><path stroke-linecap="round" stroke-linejoin="round" d="M15.5 16H17"/><path stroke-linecap="round" stroke-linejoin="round" d="M7 16H8.5"/><path stroke-linecap="round" stroke-linejoin="round" d="M7 20L6 22"/><path stroke-linecap="round" stroke-linejoin="round" d="M17 20L18 22"/><path stroke-linecap="round" stroke-linejoin="round" d="M10 2V2.5C10 3.60457 10.8954 4.5 12 4.5C13.1046 4.5 14 3.60457 14 2.5V2"/></g></svg>

React

import type { SVGProps } from "react";

export function SolarTramLinear(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 d="M4 10C4 6.22876 4 4.34315 5.17157 3.17157C6.34315 2 8.22876 2 12 2C15.7712 2 17.6569 2 18.8284 3.17157C20 4.34315 20 6.22876 20 10V12C20 15.7712 20 17.6569 18.8284 18.8284C17.6569 20 15.7712 20 12 20C8.22876 20 6.34315 20 5.17157 18.8284C4 17.6569 4 15.7712 4 12V10Z"/><path strokeLinecap="round" strokeLinejoin="round" d="M4 13H20"/><path strokeLinecap="round" strokeLinejoin="round" d="M15.5 16H17"/><path strokeLinecap="round" strokeLinejoin="round" d="M7 16H8.5"/><path strokeLinecap="round" strokeLinejoin="round" d="M7 20L6 22"/><path strokeLinecap="round" strokeLinejoin="round" d="M17 20L18 22"/><path strokeLinecap="round" strokeLinejoin="round" d="M10 2V2.5C10 3.60457 10.8954 4.5 12 4.5C13.1046 4.5 14 3.60457 14 2.5V2"/></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 d="M4 10C4 6.22876 4 4.34315 5.17157 3.17157C6.34315 2 8.22876 2 12 2C15.7712 2 17.6569 2 18.8284 3.17157C20 4.34315 20 6.22876 20 10V12C20 15.7712 20 17.6569 18.8284 18.8284C17.6569 20 15.7712 20 12 20C8.22876 20 6.34315 20 5.17157 18.8284C4 17.6569 4 15.7712 4 12V10Z"/><path stroke-linecap="round" stroke-linejoin="round" d="M4 13H20"/><path stroke-linecap="round" stroke-linejoin="round" d="M15.5 16H17"/><path stroke-linecap="round" stroke-linejoin="round" d="M7 16H8.5"/><path stroke-linecap="round" stroke-linejoin="round" d="M7 20L6 22"/><path stroke-linecap="round" stroke-linejoin="round" d="M17 20L18 22"/><path stroke-linecap="round" stroke-linejoin="round" d="M10 2V2.5C10 3.60457 10.8954 4.5 12 4.5C13.1046 4.5 14 3.60457 14 2.5V2"/></g></svg>
</template>

CSS

.icon-tram-linear {
  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%20d%3D%22M4%2010C4%206.22876%204%204.34315%205.17157%203.17157C6.34315%202%208.22876%202%2012%202C15.7712%202%2017.6569%202%2018.8284%203.17157C20%204.34315%2020%206.22876%2020%2010V12C20%2015.7712%2020%2017.6569%2018.8284%2018.8284C17.6569%2020%2015.7712%2020%2012%2020C8.22876%2020%206.34315%2020%205.17157%2018.8284C4%2017.6569%204%2015.7712%204%2012V10Z%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M4%2013H20%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M15.5%2016H17%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M7%2016H8.5%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M7%2020L6%2022%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M17%2020L18%2022%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M10%202V2.5C10%203.60457%2010.8954%204.5%2012%204.5C13.1046%204.5%2014%203.60457%2014%202.5V2%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%20d%3D%22M4%2010C4%206.22876%204%204.34315%205.17157%203.17157C6.34315%202%208.22876%202%2012%202C15.7712%202%2017.6569%202%2018.8284%203.17157C20%204.34315%2020%206.22876%2020%2010V12C20%2015.7712%2020%2017.6569%2018.8284%2018.8284C17.6569%2020%2015.7712%2020%2012%2020C8.22876%2020%206.34315%2020%205.17157%2018.8284C4%2017.6569%204%2015.7712%204%2012V10Z%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M4%2013H20%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M15.5%2016H17%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M7%2016H8.5%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M7%2020L6%2022%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M17%2020L18%2022%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M10%202V2.5C10%203.60457%2010.8954%204.5%2012%204.5C13.1046%204.5%2014%203.60457%2014%202.5V2%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

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