# tram icon

Tram. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/tram

- Category: Transportation
- Use it for: tram, streetcar, light rail, tramway
- Tags: tram, streetcar, trolley, light-rail, transit, public-transport, rail
- Component name: TramIcon
- Added: 2026-10-15

## Alternatives

- `cable-car`: a cable car or gondola
- `train`: a train or railway

## Don't confuse with

- `trolley`: a hand truck or dolly; a US 'trolley' (streetcar) is tram

## Also fits

- public transport: tram or light rail
- cable car: a tram or streetcar
- train: tram or light rail

## Files

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it.

- line-round: https://gentleface.com/svg/line-round/16/tram.svg · PNG https://gentleface.com/png/line-round/16/tram.png · https://gentleface.com/png/line-round/32/tram.png · https://gentleface.com/png/line-round/48/tram.png
- line-soft: https://gentleface.com/svg/line-soft/16/tram.svg · PNG https://gentleface.com/png/line-soft/16/tram.png · https://gentleface.com/png/line-soft/32/tram.png · https://gentleface.com/png/line-soft/48/tram.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/tram.svg · PNG https://gentleface.com/png/line-sharp/16/tram.png · https://gentleface.com/png/line-sharp/32/tram.png · https://gentleface.com/png/line-sharp/48/tram.png
- solid-round: https://gentleface.com/svg/solid-round/16/tram.svg · PNG https://gentleface.com/png/solid-round/16/tram.png · https://gentleface.com/png/solid-round/32/tram.png · https://gentleface.com/png/solid-round/48/tram.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/tram.svg · PNG https://gentleface.com/png/solid-soft/16/tram.png · https://gentleface.com/png/solid-soft/32/tram.png · https://gentleface.com/png/solid-soft/48/tram.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/tram.svg · PNG https://gentleface.com/png/solid-sharp/16/tram.png · https://gentleface.com/png/solid-sharp/32/tram.png · https://gentleface.com/png/solid-sharp/48/tram.png

The SVG of every style: https://gentleface.com/icons/tram.json (`svg`).

## Code (line-round)

The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. For another style, take its SVG from the JSON and swap the path `d`.

### SVG

```svg
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M8 4L11 4C11.254 4 11.5 4.047 11.736 4.14C11.993 4.242 12.219 4.391 12.414 4.586C12.609 4.781 12.758 5.007 12.86 5.264C12.953 5.5 13 5.746 13 6L13 11C13 11.254 12.953 11.5 12.86 11.736C12.758 11.993 12.609 12.219 12.414 12.414C12.219 12.609 11.993 12.758 11.736 12.86C11.5 12.953 11.254 13 11 13L10.707 13L11.854 14.146C11.953 14.246 12.003 14.364 12.003 14.5C12.003 14.636 11.953 14.754 11.854 14.854C11.754 14.953 11.636 15.003 11.5 15.003C11.364 15.003 11.246 14.953 11.146 14.854L9.293 13L5.707 13L3.854 14.854C3.756 14.951 3.638 15 3.5 15C3.362 15 3.244 14.951 3.146 14.854C3.047 14.754 2.997 14.636 2.997 14.5C2.997 14.364 3.047 14.246 3.146 14.146L4.293 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 6C2 5.746 2.047 5.5 2.14 5.264C2.242 5.007 2.391 4.781 2.586 4.586C2.781 4.391 3.007 4.242 3.264 4.14C3.5 4.047 3.746 4 4 4L7 4L7 2L4.5 2C4.359 2 4.241 1.952 4.144 1.856C4.048 1.759 4 1.641 4 1.5C4 1.359 4.048 1.241 4.144 1.144C4.241 1.048 4.359 1 4.5 1L10.5 1C10.641 1 10.759 1.048 10.856 1.144C10.952 1.241 11 1.359 11 1.5C11 1.641 10.952 1.759 10.856 1.856C10.759 1.952 10.641 2 10.5 2L8 2L8 4ZM12 7L12 6C12 5.724 11.902 5.488 11.707 5.293C11.512 5.098 11.276 5 11 5L4 5C3.724 5 3.488 5.098 3.293 5.293C3.098 5.488 3 5.724 3 6L3 7L12 7ZM3.293 11.707C3.488 11.902 3.724 12 4 12L11 12C11.276 12 11.512 11.902 11.707 11.707C11.902 11.512 12 11.276 12 11L12 8L3 8L3 11C3 11.276 3.098 11.512 3.293 11.707ZM5.707 9.293C5.902 9.488 6 9.724 6 10C6 10.276 5.902 10.512 5.707 10.707C5.512 10.902 5.276 11 5 11C4.724 11 4.488 10.902 4.293 10.707C4.098 10.512 4 10.276 4 10C4 9.724 4.098 9.488 4.293 9.293C4.488 9.098 4.724 9 5 9C5.276 9 5.512 9.098 5.707 9.293ZM9.293 9.293C9.488 9.098 9.724 9 10 9C10.276 9 10.512 9.098 10.707 9.293C10.902 9.488 11 9.724 11 10C11 10.276 10.902 10.512 10.707 10.707C10.512 10.902 10.276 11 10 11C9.724 11 9.488 10.902 9.293 10.707C9.098 10.512 9 10.276 9 10C9 9.724 9.098 9.488 9.293 9.293Z"/></svg>
```

### React

```tsx
// Gentleface "tram" (line-round), MIT. https://gentleface.com/icons/tram
import type { SVGProps } from 'react';

export function TramIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M8 4L11 4C11.254 4 11.5 4.047 11.736 4.14C11.993 4.242 12.219 4.391 12.414 4.586C12.609 4.781 12.758 5.007 12.86 5.264C12.953 5.5 13 5.746 13 6L13 11C13 11.254 12.953 11.5 12.86 11.736C12.758 11.993 12.609 12.219 12.414 12.414C12.219 12.609 11.993 12.758 11.736 12.86C11.5 12.953 11.254 13 11 13L10.707 13L11.854 14.146C11.953 14.246 12.003 14.364 12.003 14.5C12.003 14.636 11.953 14.754 11.854 14.854C11.754 14.953 11.636 15.003 11.5 15.003C11.364 15.003 11.246 14.953 11.146 14.854L9.293 13L5.707 13L3.854 14.854C3.756 14.951 3.638 15 3.5 15C3.362 15 3.244 14.951 3.146 14.854C3.047 14.754 2.997 14.636 2.997 14.5C2.997 14.364 3.047 14.246 3.146 14.146L4.293 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 6C2 5.746 2.047 5.5 2.14 5.264C2.242 5.007 2.391 4.781 2.586 4.586C2.781 4.391 3.007 4.242 3.264 4.14C3.5 4.047 3.746 4 4 4L7 4L7 2L4.5 2C4.359 2 4.241 1.952 4.144 1.856C4.048 1.759 4 1.641 4 1.5C4 1.359 4.048 1.241 4.144 1.144C4.241 1.048 4.359 1 4.5 1L10.5 1C10.641 1 10.759 1.048 10.856 1.144C10.952 1.241 11 1.359 11 1.5C11 1.641 10.952 1.759 10.856 1.856C10.759 1.952 10.641 2 10.5 2L8 2L8 4ZM12 7L12 6C12 5.724 11.902 5.488 11.707 5.293C11.512 5.098 11.276 5 11 5L4 5C3.724 5 3.488 5.098 3.293 5.293C3.098 5.488 3 5.724 3 6L3 7L12 7ZM3.293 11.707C3.488 11.902 3.724 12 4 12L11 12C11.276 12 11.512 11.902 11.707 11.707C11.902 11.512 12 11.276 12 11L12 8L3 8L3 11C3 11.276 3.098 11.512 3.293 11.707ZM5.707 9.293C5.902 9.488 6 9.724 6 10C6 10.276 5.902 10.512 5.707 10.707C5.512 10.902 5.276 11 5 11C4.724 11 4.488 10.902 4.293 10.707C4.098 10.512 4 10.276 4 10C4 9.724 4.098 9.488 4.293 9.293C4.488 9.098 4.724 9 5 9C5.276 9 5.512 9.098 5.707 9.293ZM9.293 9.293C9.488 9.098 9.724 9 10 9C10.276 9 10.512 9.098 10.707 9.293C10.902 9.488 11 9.724 11 10C11 10.276 10.902 10.512 10.707 10.707C10.512 10.902 10.276 11 10 11C9.724 11 9.488 10.902 9.293 10.707C9.098 10.512 9 10.276 9 10C9 9.724 9.098 9.488 9.293 9.293Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "tram" (line-round), MIT. https://gentleface.com/icons/tram -->
<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true">
    <path d="M8 4L11 4C11.254 4 11.5 4.047 11.736 4.14C11.993 4.242 12.219 4.391 12.414 4.586C12.609 4.781 12.758 5.007 12.86 5.264C12.953 5.5 13 5.746 13 6L13 11C13 11.254 12.953 11.5 12.86 11.736C12.758 11.993 12.609 12.219 12.414 12.414C12.219 12.609 11.993 12.758 11.736 12.86C11.5 12.953 11.254 13 11 13L10.707 13L11.854 14.146C11.953 14.246 12.003 14.364 12.003 14.5C12.003 14.636 11.953 14.754 11.854 14.854C11.754 14.953 11.636 15.003 11.5 15.003C11.364 15.003 11.246 14.953 11.146 14.854L9.293 13L5.707 13L3.854 14.854C3.756 14.951 3.638 15 3.5 15C3.362 15 3.244 14.951 3.146 14.854C3.047 14.754 2.997 14.636 2.997 14.5C2.997 14.364 3.047 14.246 3.146 14.146L4.293 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 6C2 5.746 2.047 5.5 2.14 5.264C2.242 5.007 2.391 4.781 2.586 4.586C2.781 4.391 3.007 4.242 3.264 4.14C3.5 4.047 3.746 4 4 4L7 4L7 2L4.5 2C4.359 2 4.241 1.952 4.144 1.856C4.048 1.759 4 1.641 4 1.5C4 1.359 4.048 1.241 4.144 1.144C4.241 1.048 4.359 1 4.5 1L10.5 1C10.641 1 10.759 1.048 10.856 1.144C10.952 1.241 11 1.359 11 1.5C11 1.641 10.952 1.759 10.856 1.856C10.759 1.952 10.641 2 10.5 2L8 2L8 4ZM12 7L12 6C12 5.724 11.902 5.488 11.707 5.293C11.512 5.098 11.276 5 11 5L4 5C3.724 5 3.488 5.098 3.293 5.293C3.098 5.488 3 5.724 3 6L3 7L12 7ZM3.293 11.707C3.488 11.902 3.724 12 4 12L11 12C11.276 12 11.512 11.902 11.707 11.707C11.902 11.512 12 11.276 12 11L12 8L3 8L3 11C3 11.276 3.098 11.512 3.293 11.707ZM5.707 9.293C5.902 9.488 6 9.724 6 10C6 10.276 5.902 10.512 5.707 10.707C5.512 10.902 5.276 11 5 11C4.724 11 4.488 10.902 4.293 10.707C4.098 10.512 4 10.276 4 10C4 9.724 4.098 9.488 4.293 9.293C4.488 9.098 4.724 9 5 9C5.276 9 5.512 9.098 5.707 9.293ZM9.293 9.293C9.488 9.098 9.724 9 10 9C10.276 9 10.512 9.098 10.707 9.293C10.902 9.488 11 9.724 11 10C11 10.276 10.902 10.512 10.707 10.707C10.512 10.902 10.276 11 10 11C9.724 11 9.488 10.902 9.293 10.707C9.098 10.512 9 10.276 9 10C9 9.724 9.098 9.488 9.293 9.293Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "tram" (line-round), MIT. https://gentleface.com/icons/tram -->
<script>
  let props = $props();
</script>

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
  <path d="M8 4L11 4C11.254 4 11.5 4.047 11.736 4.14C11.993 4.242 12.219 4.391 12.414 4.586C12.609 4.781 12.758 5.007 12.86 5.264C12.953 5.5 13 5.746 13 6L13 11C13 11.254 12.953 11.5 12.86 11.736C12.758 11.993 12.609 12.219 12.414 12.414C12.219 12.609 11.993 12.758 11.736 12.86C11.5 12.953 11.254 13 11 13L10.707 13L11.854 14.146C11.953 14.246 12.003 14.364 12.003 14.5C12.003 14.636 11.953 14.754 11.854 14.854C11.754 14.953 11.636 15.003 11.5 15.003C11.364 15.003 11.246 14.953 11.146 14.854L9.293 13L5.707 13L3.854 14.854C3.756 14.951 3.638 15 3.5 15C3.362 15 3.244 14.951 3.146 14.854C3.047 14.754 2.997 14.636 2.997 14.5C2.997 14.364 3.047 14.246 3.146 14.146L4.293 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 6C2 5.746 2.047 5.5 2.14 5.264C2.242 5.007 2.391 4.781 2.586 4.586C2.781 4.391 3.007 4.242 3.264 4.14C3.5 4.047 3.746 4 4 4L7 4L7 2L4.5 2C4.359 2 4.241 1.952 4.144 1.856C4.048 1.759 4 1.641 4 1.5C4 1.359 4.048 1.241 4.144 1.144C4.241 1.048 4.359 1 4.5 1L10.5 1C10.641 1 10.759 1.048 10.856 1.144C10.952 1.241 11 1.359 11 1.5C11 1.641 10.952 1.759 10.856 1.856C10.759 1.952 10.641 2 10.5 2L8 2L8 4ZM12 7L12 6C12 5.724 11.902 5.488 11.707 5.293C11.512 5.098 11.276 5 11 5L4 5C3.724 5 3.488 5.098 3.293 5.293C3.098 5.488 3 5.724 3 6L3 7L12 7ZM3.293 11.707C3.488 11.902 3.724 12 4 12L11 12C11.276 12 11.512 11.902 11.707 11.707C11.902 11.512 12 11.276 12 11L12 8L3 8L3 11C3 11.276 3.098 11.512 3.293 11.707ZM5.707 9.293C5.902 9.488 6 9.724 6 10C6 10.276 5.902 10.512 5.707 10.707C5.512 10.902 5.276 11 5 11C4.724 11 4.488 10.902 4.293 10.707C4.098 10.512 4 10.276 4 10C4 9.724 4.098 9.488 4.293 9.293C4.488 9.098 4.724 9 5 9C5.276 9 5.512 9.098 5.707 9.293ZM9.293 9.293C9.488 9.098 9.724 9 10 9C10.276 9 10.512 9.098 10.707 9.293C10.902 9.488 11 9.724 11 10C11 10.276 10.902 10.512 10.707 10.707C10.512 10.902 10.276 11 10 11C9.724 11 9.488 10.902 9.293 10.707C9.098 10.512 9 10.276 9 10C9 9.724 9.098 9.488 9.293 9.293Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "tram" (line-round), MIT. https://gentleface.com/icons/tram. An <img> can't take currentColor: it draws black. Inline the SVG or use the CSS mask to color it. -->
<img src="https://gentleface.com/svg/line-round/16/tram.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "tram" (line-round), MIT. https://gentleface.com/icons/tram. Takes the text color. */
.icon-tram {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M8 4L11 4C11.254 4 11.5 4.047 11.736 4.14C11.993 4.242 12.219 4.391 12.414 4.586C12.609 4.781 12.758 5.007 12.86 5.264C12.953 5.5 13 5.746 13 6L13 11C13 11.254 12.953 11.5 12.86 11.736C12.758 11.993 12.609 12.219 12.414 12.414C12.219 12.609 11.993 12.758 11.736 12.86C11.5 12.953 11.254 13 11 13L10.707 13L11.854 14.146C11.953 14.246 12.003 14.364 12.003 14.5C12.003 14.636 11.953 14.754 11.854 14.854C11.754 14.953 11.636 15.003 11.5 15.003C11.364 15.003 11.246 14.953 11.146 14.854L9.293 13L5.707 13L3.854 14.854C3.756 14.951 3.638 15 3.5 15C3.362 15 3.244 14.951 3.146 14.854C3.047 14.754 2.997 14.636 2.997 14.5C2.997 14.364 3.047 14.246 3.146 14.146L4.293 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 6C2 5.746 2.047 5.5 2.14 5.264C2.242 5.007 2.391 4.781 2.586 4.586C2.781 4.391 3.007 4.242 3.264 4.14C3.5 4.047 3.746 4 4 4L7 4L7 2L4.5 2C4.359 2 4.241 1.952 4.144 1.856C4.048 1.759 4 1.641 4 1.5C4 1.359 4.048 1.241 4.144 1.144C4.241 1.048 4.359 1 4.5 1L10.5 1C10.641 1 10.759 1.048 10.856 1.144C10.952 1.241 11 1.359 11 1.5C11 1.641 10.952 1.759 10.856 1.856C10.759 1.952 10.641 2 10.5 2L8 2L8 4ZM12 7L12 6C12 5.724 11.902 5.488 11.707 5.293C11.512 5.098 11.276 5 11 5L4 5C3.724 5 3.488 5.098 3.293 5.293C3.098 5.488 3 5.724 3 6L3 7L12 7ZM3.293 11.707C3.488 11.902 3.724 12 4 12L11 12C11.276 12 11.512 11.902 11.707 11.707C11.902 11.512 12 11.276 12 11L12 8L3 8L3 11C3 11.276 3.098 11.512 3.293 11.707ZM5.707 9.293C5.902 9.488 6 9.724 6 10C6 10.276 5.902 10.512 5.707 10.707C5.512 10.902 5.276 11 5 11C4.724 11 4.488 10.902 4.293 10.707C4.098 10.512 4 10.276 4 10C4 9.724 4.098 9.488 4.293 9.293C4.488 9.098 4.724 9 5 9C5.276 9 5.512 9.098 5.707 9.293ZM9.293 9.293C9.488 9.098 9.724 9 10 9C10.276 9 10.512 9.098 10.707 9.293C10.902 9.488 11 9.724 11 10C11 10.276 10.902 10.512 10.707 10.707C10.512 10.902 10.276 11 10 11C9.724 11 9.488 10.902 9.293 10.707C9.098 10.512 9 10.276 9 10C9 9.724 9.098 9.488 9.293 9.293Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M8 4L11 4C11.254 4 11.5 4.047 11.736 4.14C11.993 4.242 12.219 4.391 12.414 4.586C12.609 4.781 12.758 5.007 12.86 5.264C12.953 5.5 13 5.746 13 6L13 11C13 11.254 12.953 11.5 12.86 11.736C12.758 11.993 12.609 12.219 12.414 12.414C12.219 12.609 11.993 12.758 11.736 12.86C11.5 12.953 11.254 13 11 13L10.707 13L11.854 14.146C11.953 14.246 12.003 14.364 12.003 14.5C12.003 14.636 11.953 14.754 11.854 14.854C11.754 14.953 11.636 15.003 11.5 15.003C11.364 15.003 11.246 14.953 11.146 14.854L9.293 13L5.707 13L3.854 14.854C3.756 14.951 3.638 15 3.5 15C3.362 15 3.244 14.951 3.146 14.854C3.047 14.754 2.997 14.636 2.997 14.5C2.997 14.364 3.047 14.246 3.146 14.146L4.293 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 6C2 5.746 2.047 5.5 2.14 5.264C2.242 5.007 2.391 4.781 2.586 4.586C2.781 4.391 3.007 4.242 3.264 4.14C3.5 4.047 3.746 4 4 4L7 4L7 2L4.5 2C4.359 2 4.241 1.952 4.144 1.856C4.048 1.759 4 1.641 4 1.5C4 1.359 4.048 1.241 4.144 1.144C4.241 1.048 4.359 1 4.5 1L10.5 1C10.641 1 10.759 1.048 10.856 1.144C10.952 1.241 11 1.359 11 1.5C11 1.641 10.952 1.759 10.856 1.856C10.759 1.952 10.641 2 10.5 2L8 2L8 4ZM12 7L12 6C12 5.724 11.902 5.488 11.707 5.293C11.512 5.098 11.276 5 11 5L4 5C3.724 5 3.488 5.098 3.293 5.293C3.098 5.488 3 5.724 3 6L3 7L12 7ZM3.293 11.707C3.488 11.902 3.724 12 4 12L11 12C11.276 12 11.512 11.902 11.707 11.707C11.902 11.512 12 11.276 12 11L12 8L3 8L3 11C3 11.276 3.098 11.512 3.293 11.707ZM5.707 9.293C5.902 9.488 6 9.724 6 10C6 10.276 5.902 10.512 5.707 10.707C5.512 10.902 5.276 11 5 11C4.724 11 4.488 10.902 4.293 10.707C4.098 10.512 4 10.276 4 10C4 9.724 4.098 9.488 4.293 9.293C4.488 9.098 4.724 9 5 9C5.276 9 5.512 9.098 5.707 9.293ZM9.293 9.293C9.488 9.098 9.724 9 10 9C10.276 9 10.512 9.098 10.707 9.293C10.902 9.488 11 9.724 11 10C11 10.276 10.902 10.512 10.707 10.707C10.512 10.902 10.276 11 10 11C9.724 11 9.488 10.902 9.293 10.707C9.098 10.512 9 10.276 9 10C9 9.724 9.098 9.488 9.293 9.293Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
```

### Data URL

```text
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M8 4L11 4C11.254 4 11.5 4.047 11.736 4.14C11.993 4.242 12.219 4.391 12.414 4.586C12.609 4.781 12.758 5.007 12.86 5.264C12.953 5.5 13 5.746 13 6L13 11C13 11.254 12.953 11.5 12.86 11.736C12.758 11.993 12.609 12.219 12.414 12.414C12.219 12.609 11.993 12.758 11.736 12.86C11.5 12.953 11.254 13 11 13L10.707 13L11.854 14.146C11.953 14.246 12.003 14.364 12.003 14.5C12.003 14.636 11.953 14.754 11.854 14.854C11.754 14.953 11.636 15.003 11.5 15.003C11.364 15.003 11.246 14.953 11.146 14.854L9.293 13L5.707 13L3.854 14.854C3.756 14.951 3.638 15 3.5 15C3.362 15 3.244 14.951 3.146 14.854C3.047 14.754 2.997 14.636 2.997 14.5C2.997 14.364 3.047 14.246 3.146 14.146L4.293 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 6C2 5.746 2.047 5.5 2.14 5.264C2.242 5.007 2.391 4.781 2.586 4.586C2.781 4.391 3.007 4.242 3.264 4.14C3.5 4.047 3.746 4 4 4L7 4L7 2L4.5 2C4.359 2 4.241 1.952 4.144 1.856C4.048 1.759 4 1.641 4 1.5C4 1.359 4.048 1.241 4.144 1.144C4.241 1.048 4.359 1 4.5 1L10.5 1C10.641 1 10.759 1.048 10.856 1.144C10.952 1.241 11 1.359 11 1.5C11 1.641 10.952 1.759 10.856 1.856C10.759 1.952 10.641 2 10.5 2L8 2L8 4ZM12 7L12 6C12 5.724 11.902 5.488 11.707 5.293C11.512 5.098 11.276 5 11 5L4 5C3.724 5 3.488 5.098 3.293 5.293C3.098 5.488 3 5.724 3 6L3 7L12 7ZM3.293 11.707C3.488 11.902 3.724 12 4 12L11 12C11.276 12 11.512 11.902 11.707 11.707C11.902 11.512 12 11.276 12 11L12 8L3 8L3 11C3 11.276 3.098 11.512 3.293 11.707ZM5.707 9.293C5.902 9.488 6 9.724 6 10C6 10.276 5.902 10.512 5.707 10.707C5.512 10.902 5.276 11 5 11C4.724 11 4.488 10.902 4.293 10.707C4.098 10.512 4 10.276 4 10C4 9.724 4.098 9.488 4.293 9.293C4.488 9.098 4.724 9 5 9C5.276 9 5.512 9.098 5.707 9.293ZM9.293 9.293C9.488 9.098 9.724 9 10 9C10.276 9 10.512 9.098 10.707 9.293C10.902 9.488 11 9.724 11 10C11 10.276 10.902 10.512 10.707 10.707C10.512 10.902 10.276 11 10 11C9.724 11 9.488 10.902 9.293 10.707C9.098 10.512 9 10.276 9 10C9 9.724 9.098 9.488 9.293 9.293Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "tram" (line-round), MIT. https://gentleface.com/icons/tram
     Every icon of this style in one file: https://gentleface.com/sprite/line-round.svg
     Serve it from your own origin: <use> does not load from another origin. -->
<svg width="16" height="16" aria-hidden="true"><use href="/sprite/line-round.svg#tram"/></svg>
```

### SwiftUI

```swift
// Gentleface "tram" (line-round), MIT. https://gentleface.com/icons/tram
import SwiftUI

struct TramIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 8, y: 4))
        p.addLine(to: CGPoint(x: 11, y: 4))
        p.addCurve(to: CGPoint(x: 11.736, y: 4.14), control1: CGPoint(x: 11.254, y: 4), control2: CGPoint(x: 11.5, y: 4.047))
        p.addCurve(to: CGPoint(x: 12.414, y: 4.586), control1: CGPoint(x: 11.993, y: 4.242), control2: CGPoint(x: 12.219, y: 4.391))
        p.addCurve(to: CGPoint(x: 12.86, y: 5.264), control1: CGPoint(x: 12.609, y: 4.781), control2: CGPoint(x: 12.758, y: 5.007))
        p.addCurve(to: CGPoint(x: 13, y: 6), control1: CGPoint(x: 12.953, y: 5.5), control2: CGPoint(x: 13, y: 5.746))
        p.addLine(to: CGPoint(x: 13, y: 11))
        p.addCurve(to: CGPoint(x: 12.86, y: 11.736), control1: CGPoint(x: 13, y: 11.254), control2: CGPoint(x: 12.953, y: 11.5))
        p.addCurve(to: CGPoint(x: 12.414, y: 12.414), control1: CGPoint(x: 12.758, y: 11.993), control2: CGPoint(x: 12.609, y: 12.219))
        p.addCurve(to: CGPoint(x: 11.736, y: 12.86), control1: CGPoint(x: 12.219, y: 12.609), control2: CGPoint(x: 11.993, y: 12.758))
        p.addCurve(to: CGPoint(x: 11, y: 13), control1: CGPoint(x: 11.5, y: 12.953), control2: CGPoint(x: 11.254, y: 13))
        p.addLine(to: CGPoint(x: 10.707, y: 13))
        p.addLine(to: CGPoint(x: 11.854, y: 14.146))
        p.addCurve(to: CGPoint(x: 12.003, y: 14.5), control1: CGPoint(x: 11.953, y: 14.246), control2: CGPoint(x: 12.003, y: 14.364))
        p.addCurve(to: CGPoint(x: 11.854, y: 14.854), control1: CGPoint(x: 12.003, y: 14.636), control2: CGPoint(x: 11.953, y: 14.754))
        p.addCurve(to: CGPoint(x: 11.5, y: 15.003), control1: CGPoint(x: 11.754, y: 14.953), control2: CGPoint(x: 11.636, y: 15.003))
        p.addCurve(to: CGPoint(x: 11.146, y: 14.854), control1: CGPoint(x: 11.364, y: 15.003), control2: CGPoint(x: 11.246, y: 14.953))
        p.addLine(to: CGPoint(x: 9.293, y: 13))
        p.addLine(to: CGPoint(x: 5.707, y: 13))
        p.addLine(to: CGPoint(x: 3.854, y: 14.854))
        p.addCurve(to: CGPoint(x: 3.5, y: 15), control1: CGPoint(x: 3.756, y: 14.951), control2: CGPoint(x: 3.638, y: 15))
        p.addCurve(to: CGPoint(x: 3.146, y: 14.854), control1: CGPoint(x: 3.362, y: 15), control2: CGPoint(x: 3.244, y: 14.951))
        p.addCurve(to: CGPoint(x: 2.997, y: 14.5), control1: CGPoint(x: 3.047, y: 14.754), control2: CGPoint(x: 2.997, y: 14.636))
        p.addCurve(to: CGPoint(x: 3.146, y: 14.146), control1: CGPoint(x: 2.997, y: 14.364), control2: CGPoint(x: 3.047, y: 14.246))
        p.addLine(to: CGPoint(x: 4.293, y: 13))
        p.addLine(to: CGPoint(x: 4, y: 13))
        p.addCurve(to: CGPoint(x: 3.264, y: 12.86), control1: CGPoint(x: 3.746, y: 13), control2: CGPoint(x: 3.5, y: 12.953))
        p.addCurve(to: CGPoint(x: 2.586, y: 12.414), control1: CGPoint(x: 3.007, y: 12.758), control2: CGPoint(x: 2.781, y: 12.609))
        p.addCurve(to: CGPoint(x: 2.14, y: 11.736), control1: CGPoint(x: 2.391, y: 12.219), control2: CGPoint(x: 2.242, y: 11.993))
        p.addCurve(to: CGPoint(x: 2, y: 11), control1: CGPoint(x: 2.047, y: 11.5), control2: CGPoint(x: 2, y: 11.254))
        p.addLine(to: CGPoint(x: 2, y: 6))
        p.addCurve(to: CGPoint(x: 2.14, y: 5.264), control1: CGPoint(x: 2, y: 5.746), control2: CGPoint(x: 2.047, y: 5.5))
        p.addCurve(to: CGPoint(x: 2.586, y: 4.586), control1: CGPoint(x: 2.242, y: 5.007), control2: CGPoint(x: 2.391, y: 4.781))
        p.addCurve(to: CGPoint(x: 3.264, y: 4.14), control1: CGPoint(x: 2.781, y: 4.391), control2: CGPoint(x: 3.007, y: 4.242))
        p.addCurve(to: CGPoint(x: 4, y: 4), control1: CGPoint(x: 3.5, y: 4.047), control2: CGPoint(x: 3.746, y: 4))
        p.addLine(to: CGPoint(x: 7, y: 4))
        p.addLine(to: CGPoint(x: 7, y: 2))
        p.addLine(to: CGPoint(x: 4.5, y: 2))
        p.addCurve(to: CGPoint(x: 4.144, y: 1.856), control1: CGPoint(x: 4.359, y: 2), control2: CGPoint(x: 4.241, y: 1.952))
        p.addCurve(to: CGPoint(x: 4, y: 1.5), control1: CGPoint(x: 4.048, y: 1.759), control2: CGPoint(x: 4, y: 1.641))
        p.addCurve(to: CGPoint(x: 4.144, y: 1.144), control1: CGPoint(x: 4, y: 1.359), control2: CGPoint(x: 4.048, y: 1.241))
        p.addCurve(to: CGPoint(x: 4.5, y: 1), control1: CGPoint(x: 4.241, y: 1.048), control2: CGPoint(x: 4.359, y: 1))
        p.addLine(to: CGPoint(x: 10.5, y: 1))
        p.addCurve(to: CGPoint(x: 10.856, y: 1.144), control1: CGPoint(x: 10.641, y: 1), control2: CGPoint(x: 10.759, y: 1.048))
        p.addCurve(to: CGPoint(x: 11, y: 1.5), control1: CGPoint(x: 10.952, y: 1.241), control2: CGPoint(x: 11, y: 1.359))
        p.addCurve(to: CGPoint(x: 10.856, y: 1.856), control1: CGPoint(x: 11, y: 1.641), control2: CGPoint(x: 10.952, y: 1.759))
        p.addCurve(to: CGPoint(x: 10.5, y: 2), control1: CGPoint(x: 10.759, y: 1.952), control2: CGPoint(x: 10.641, y: 2))
        p.addLine(to: CGPoint(x: 8, y: 2))
        p.addLine(to: CGPoint(x: 8, y: 4))
        p.closeSubpath()
        p.move(to: CGPoint(x: 12, y: 7))
        p.addLine(to: CGPoint(x: 12, y: 6))
        p.addCurve(to: CGPoint(x: 11.707, y: 5.293), control1: CGPoint(x: 12, y: 5.724), control2: CGPoint(x: 11.902, y: 5.488))
        p.addCurve(to: CGPoint(x: 11, y: 5), control1: CGPoint(x: 11.512, y: 5.098), control2: CGPoint(x: 11.276, y: 5))
        p.addLine(to: CGPoint(x: 4, y: 5))
        p.addCurve(to: CGPoint(x: 3.293, y: 5.293), control1: CGPoint(x: 3.724, y: 5), control2: CGPoint(x: 3.488, y: 5.098))
        p.addCurve(to: CGPoint(x: 3, y: 6), control1: CGPoint(x: 3.098, y: 5.488), control2: CGPoint(x: 3, y: 5.724))
        p.addLine(to: CGPoint(x: 3, y: 7))
        p.addLine(to: CGPoint(x: 12, y: 7))
        p.closeSubpath()
        p.move(to: CGPoint(x: 3.293, y: 11.707))
        p.addCurve(to: CGPoint(x: 4, y: 12), control1: CGPoint(x: 3.488, y: 11.902), control2: CGPoint(x: 3.724, y: 12))
        p.addLine(to: CGPoint(x: 11, y: 12))
        p.addCurve(to: CGPoint(x: 11.707, y: 11.707), control1: CGPoint(x: 11.276, y: 12), control2: CGPoint(x: 11.512, y: 11.902))
        p.addCurve(to: CGPoint(x: 12, y: 11), control1: CGPoint(x: 11.902, y: 11.512), control2: CGPoint(x: 12, y: 11.276))
        p.addLine(to: CGPoint(x: 12, y: 8))
        p.addLine(to: CGPoint(x: 3, y: 8))
        p.addLine(to: CGPoint(x: 3, y: 11))
        p.addCurve(to: CGPoint(x: 3.293, y: 11.707), control1: CGPoint(x: 3, y: 11.276), control2: CGPoint(x: 3.098, y: 11.512))
        p.closeSubpath()
        p.move(to: CGPoint(x: 5.707, y: 9.293))
        p.addCurve(to: CGPoint(x: 6, y: 10), control1: CGPoint(x: 5.902, y: 9.488), control2: CGPoint(x: 6, y: 9.724))
        p.addCurve(to: CGPoint(x: 5.707, y: 10.707), control1: CGPoint(x: 6, y: 10.276), control2: CGPoint(x: 5.902, y: 10.512))
        p.addCurve(to: CGPoint(x: 5, y: 11), control1: CGPoint(x: 5.512, y: 10.902), control2: CGPoint(x: 5.276, y: 11))
        p.addCurve(to: CGPoint(x: 4.293, y: 10.707), control1: CGPoint(x: 4.724, y: 11), control2: CGPoint(x: 4.488, y: 10.902))
        p.addCurve(to: CGPoint(x: 4, y: 10), control1: CGPoint(x: 4.098, y: 10.512), control2: CGPoint(x: 4, y: 10.276))
        p.addCurve(to: CGPoint(x: 4.293, y: 9.293), control1: CGPoint(x: 4, y: 9.724), control2: CGPoint(x: 4.098, y: 9.488))
        p.addCurve(to: CGPoint(x: 5, y: 9), control1: CGPoint(x: 4.488, y: 9.098), control2: CGPoint(x: 4.724, y: 9))
        p.addCurve(to: CGPoint(x: 5.707, y: 9.293), control1: CGPoint(x: 5.276, y: 9), control2: CGPoint(x: 5.512, y: 9.098))
        p.closeSubpath()
        p.move(to: CGPoint(x: 9.293, y: 9.293))
        p.addCurve(to: CGPoint(x: 10, y: 9), control1: CGPoint(x: 9.488, y: 9.098), control2: CGPoint(x: 9.724, y: 9))
        p.addCurve(to: CGPoint(x: 10.707, y: 9.293), control1: CGPoint(x: 10.276, y: 9), control2: CGPoint(x: 10.512, y: 9.098))
        p.addCurve(to: CGPoint(x: 11, y: 10), control1: CGPoint(x: 10.902, y: 9.488), control2: CGPoint(x: 11, y: 9.724))
        p.addCurve(to: CGPoint(x: 10.707, y: 10.707), control1: CGPoint(x: 11, y: 10.276), control2: CGPoint(x: 10.902, y: 10.512))
        p.addCurve(to: CGPoint(x: 10, y: 11), control1: CGPoint(x: 10.512, y: 10.902), control2: CGPoint(x: 10.276, y: 11))
        p.addCurve(to: CGPoint(x: 9.293, y: 10.707), control1: CGPoint(x: 9.724, y: 11), control2: CGPoint(x: 9.488, y: 10.902))
        p.addCurve(to: CGPoint(x: 9, y: 10), control1: CGPoint(x: 9.098, y: 10.512), control2: CGPoint(x: 9, y: 10.276))
        p.addCurve(to: CGPoint(x: 9.293, y: 9.293), control1: CGPoint(x: 9, y: 9.724), control2: CGPoint(x: 9.098, y: 9.488))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

// TramIcon().frame(width: 16, height: 16) fills with the foreground style. Keep it on whole points to stay crisp.
```

### Compose

```kotlin
// Gentleface "tram" (line-round), MIT. https://gentleface.com/icons/tram
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.addPathNodes
import androidx.compose.ui.unit.dp

val TramIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "tram", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M8 4L11 4C11.254 4 11.5 4.047 11.736 4.14C11.993 4.242 12.219 4.391 12.414 4.586C12.609 4.781 12.758 5.007 12.86 5.264C12.953 5.5 13 5.746 13 6L13 11C13 11.254 12.953 11.5 12.86 11.736C12.758 11.993 12.609 12.219 12.414 12.414C12.219 12.609 11.993 12.758 11.736 12.86C11.5 12.953 11.254 13 11 13L10.707 13L11.854 14.146C11.953 14.246 12.003 14.364 12.003 14.5C12.003 14.636 11.953 14.754 11.854 14.854C11.754 14.953 11.636 15.003 11.5 15.003C11.364 15.003 11.246 14.953 11.146 14.854L9.293 13L5.707 13L3.854 14.854C3.756 14.951 3.638 15 3.5 15C3.362 15 3.244 14.951 3.146 14.854C3.047 14.754 2.997 14.636 2.997 14.5C2.997 14.364 3.047 14.246 3.146 14.146L4.293 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 6C2 5.746 2.047 5.5 2.14 5.264C2.242 5.007 2.391 4.781 2.586 4.586C2.781 4.391 3.007 4.242 3.264 4.14C3.5 4.047 3.746 4 4 4L7 4L7 2L4.5 2C4.359 2 4.241 1.952 4.144 1.856C4.048 1.759 4 1.641 4 1.5C4 1.359 4.048 1.241 4.144 1.144C4.241 1.048 4.359 1 4.5 1L10.5 1C10.641 1 10.759 1.048 10.856 1.144C10.952 1.241 11 1.359 11 1.5C11 1.641 10.952 1.759 10.856 1.856C10.759 1.952 10.641 2 10.5 2L8 2L8 4ZM12 7L12 6C12 5.724 11.902 5.488 11.707 5.293C11.512 5.098 11.276 5 11 5L4 5C3.724 5 3.488 5.098 3.293 5.293C3.098 5.488 3 5.724 3 6L3 7L12 7ZM3.293 11.707C3.488 11.902 3.724 12 4 12L11 12C11.276 12 11.512 11.902 11.707 11.707C11.902 11.512 12 11.276 12 11L12 8L3 8L3 11C3 11.276 3.098 11.512 3.293 11.707ZM5.707 9.293C5.902 9.488 6 9.724 6 10C6 10.276 5.902 10.512 5.707 10.707C5.512 10.902 5.276 11 5 11C4.724 11 4.488 10.902 4.293 10.707C4.098 10.512 4 10.276 4 10C4 9.724 4.098 9.488 4.293 9.293C4.488 9.098 4.724 9 5 9C5.276 9 5.512 9.098 5.707 9.293ZM9.293 9.293C9.488 9.098 9.724 9 10 9C10.276 9 10.512 9.098 10.707 9.293C10.902 9.488 11 9.724 11 10C11 10.276 10.902 10.512 10.707 10.707C10.512 10.902 10.276 11 10 11C9.724 11 9.488 10.902 9.293 10.707C9.098 10.512 9 10.276 9 10C9 9.724 9.098 9.488 9.293 9.293Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

// Icon(TramIcon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_tram.xml · Gentleface "tram" (line-round), MIT. https://gentleface.com/icons/tram -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="16dp"
    android:height="16dp"
    android:viewportWidth="16"
    android:viewportHeight="16"
    android:tint="?attr/colorControlNormal">
  <path
      android:fillColor="@android:color/white"
      android:pathData="M8 4L11 4C11.254 4 11.5 4.047 11.736 4.14C11.993 4.242 12.219 4.391 12.414 4.586C12.609 4.781 12.758 5.007 12.86 5.264C12.953 5.5 13 5.746 13 6L13 11C13 11.254 12.953 11.5 12.86 11.736C12.758 11.993 12.609 12.219 12.414 12.414C12.219 12.609 11.993 12.758 11.736 12.86C11.5 12.953 11.254 13 11 13L10.707 13L11.854 14.146C11.953 14.246 12.003 14.364 12.003 14.5C12.003 14.636 11.953 14.754 11.854 14.854C11.754 14.953 11.636 15.003 11.5 15.003C11.364 15.003 11.246 14.953 11.146 14.854L9.293 13L5.707 13L3.854 14.854C3.756 14.951 3.638 15 3.5 15C3.362 15 3.244 14.951 3.146 14.854C3.047 14.754 2.997 14.636 2.997 14.5C2.997 14.364 3.047 14.246 3.146 14.146L4.293 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 6C2 5.746 2.047 5.5 2.14 5.264C2.242 5.007 2.391 4.781 2.586 4.586C2.781 4.391 3.007 4.242 3.264 4.14C3.5 4.047 3.746 4 4 4L7 4L7 2L4.5 2C4.359 2 4.241 1.952 4.144 1.856C4.048 1.759 4 1.641 4 1.5C4 1.359 4.048 1.241 4.144 1.144C4.241 1.048 4.359 1 4.5 1L10.5 1C10.641 1 10.759 1.048 10.856 1.144C10.952 1.241 11 1.359 11 1.5C11 1.641 10.952 1.759 10.856 1.856C10.759 1.952 10.641 2 10.5 2L8 2L8 4ZM12 7L12 6C12 5.724 11.902 5.488 11.707 5.293C11.512 5.098 11.276 5 11 5L4 5C3.724 5 3.488 5.098 3.293 5.293C3.098 5.488 3 5.724 3 6L3 7L12 7ZM3.293 11.707C3.488 11.902 3.724 12 4 12L11 12C11.276 12 11.512 11.902 11.707 11.707C11.902 11.512 12 11.276 12 11L12 8L3 8L3 11C3 11.276 3.098 11.512 3.293 11.707ZM5.707 9.293C5.902 9.488 6 9.724 6 10C6 10.276 5.902 10.512 5.707 10.707C5.512 10.902 5.276 11 5 11C4.724 11 4.488 10.902 4.293 10.707C4.098 10.512 4 10.276 4 10C4 9.724 4.098 9.488 4.293 9.293C4.488 9.098 4.724 9 5 9C5.276 9 5.512 9.098 5.707 9.293ZM9.293 9.293C9.488 9.098 9.724 9 10 9C10.276 9 10.512 9.098 10.707 9.293C10.902 9.488 11 9.724 11 10C11 10.276 10.902 10.512 10.707 10.707C10.512 10.902 10.276 11 10 11C9.724 11 9.488 10.902 9.293 10.707C9.098 10.512 9 10.276 9 10C9 9.724 9.098 9.488 9.293 9.293Z"/>
</vector>
```

### Flutter

```dart
// Gentleface "tram" (line-round), MIT. https://gentleface.com/icons/tram
import 'package:flutter/widgets.dart';

class TramIcon extends StatelessWidget {
  const TramIcon({super.key, this.size = 16, this.color});
  final double size;
  final Color? color;

  @override
  Widget build(BuildContext context) => CustomPaint(
        size: Size.square(size),
        painter: _TramIconPainter(color ?? IconTheme.of(context).color ?? const Color(0xFF000000)),
      );
}

class _TramIconPainter extends CustomPainter {
  _TramIconPainter(this.color);
  final Color color;

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(8, 4)
      ..lineTo(11, 4)
      ..cubicTo(11.254, 4, 11.5, 4.047, 11.736, 4.14)
      ..cubicTo(11.993, 4.242, 12.219, 4.391, 12.414, 4.586)
      ..cubicTo(12.609, 4.781, 12.758, 5.007, 12.86, 5.264)
      ..cubicTo(12.953, 5.5, 13, 5.746, 13, 6)
      ..lineTo(13, 11)
      ..cubicTo(13, 11.254, 12.953, 11.5, 12.86, 11.736)
      ..cubicTo(12.758, 11.993, 12.609, 12.219, 12.414, 12.414)
      ..cubicTo(12.219, 12.609, 11.993, 12.758, 11.736, 12.86)
      ..cubicTo(11.5, 12.953, 11.254, 13, 11, 13)
      ..lineTo(10.707, 13)
      ..lineTo(11.854, 14.146)
      ..cubicTo(11.953, 14.246, 12.003, 14.364, 12.003, 14.5)
      ..cubicTo(12.003, 14.636, 11.953, 14.754, 11.854, 14.854)
      ..cubicTo(11.754, 14.953, 11.636, 15.003, 11.5, 15.003)
      ..cubicTo(11.364, 15.003, 11.246, 14.953, 11.146, 14.854)
      ..lineTo(9.293, 13)
      ..lineTo(5.707, 13)
      ..lineTo(3.854, 14.854)
      ..cubicTo(3.756, 14.951, 3.638, 15, 3.5, 15)
      ..cubicTo(3.362, 15, 3.244, 14.951, 3.146, 14.854)
      ..cubicTo(3.047, 14.754, 2.997, 14.636, 2.997, 14.5)
      ..cubicTo(2.997, 14.364, 3.047, 14.246, 3.146, 14.146)
      ..lineTo(4.293, 13)
      ..lineTo(4, 13)
      ..cubicTo(3.746, 13, 3.5, 12.953, 3.264, 12.86)
      ..cubicTo(3.007, 12.758, 2.781, 12.609, 2.586, 12.414)
      ..cubicTo(2.391, 12.219, 2.242, 11.993, 2.14, 11.736)
      ..cubicTo(2.047, 11.5, 2, 11.254, 2, 11)
      ..lineTo(2, 6)
      ..cubicTo(2, 5.746, 2.047, 5.5, 2.14, 5.264)
      ..cubicTo(2.242, 5.007, 2.391, 4.781, 2.586, 4.586)
      ..cubicTo(2.781, 4.391, 3.007, 4.242, 3.264, 4.14)
      ..cubicTo(3.5, 4.047, 3.746, 4, 4, 4)
      ..lineTo(7, 4)
      ..lineTo(7, 2)
      ..lineTo(4.5, 2)
      ..cubicTo(4.359, 2, 4.241, 1.952, 4.144, 1.856)
      ..cubicTo(4.048, 1.759, 4, 1.641, 4, 1.5)
      ..cubicTo(4, 1.359, 4.048, 1.241, 4.144, 1.144)
      ..cubicTo(4.241, 1.048, 4.359, 1, 4.5, 1)
      ..lineTo(10.5, 1)
      ..cubicTo(10.641, 1, 10.759, 1.048, 10.856, 1.144)
      ..cubicTo(10.952, 1.241, 11, 1.359, 11, 1.5)
      ..cubicTo(11, 1.641, 10.952, 1.759, 10.856, 1.856)
      ..cubicTo(10.759, 1.952, 10.641, 2, 10.5, 2)
      ..lineTo(8, 2)
      ..lineTo(8, 4)
      ..close()
      ..moveTo(12, 7)
      ..lineTo(12, 6)
      ..cubicTo(12, 5.724, 11.902, 5.488, 11.707, 5.293)
      ..cubicTo(11.512, 5.098, 11.276, 5, 11, 5)
      ..lineTo(4, 5)
      ..cubicTo(3.724, 5, 3.488, 5.098, 3.293, 5.293)
      ..cubicTo(3.098, 5.488, 3, 5.724, 3, 6)
      ..lineTo(3, 7)
      ..lineTo(12, 7)
      ..close()
      ..moveTo(3.293, 11.707)
      ..cubicTo(3.488, 11.902, 3.724, 12, 4, 12)
      ..lineTo(11, 12)
      ..cubicTo(11.276, 12, 11.512, 11.902, 11.707, 11.707)
      ..cubicTo(11.902, 11.512, 12, 11.276, 12, 11)
      ..lineTo(12, 8)
      ..lineTo(3, 8)
      ..lineTo(3, 11)
      ..cubicTo(3, 11.276, 3.098, 11.512, 3.293, 11.707)
      ..close()
      ..moveTo(5.707, 9.293)
      ..cubicTo(5.902, 9.488, 6, 9.724, 6, 10)
      ..cubicTo(6, 10.276, 5.902, 10.512, 5.707, 10.707)
      ..cubicTo(5.512, 10.902, 5.276, 11, 5, 11)
      ..cubicTo(4.724, 11, 4.488, 10.902, 4.293, 10.707)
      ..cubicTo(4.098, 10.512, 4, 10.276, 4, 10)
      ..cubicTo(4, 9.724, 4.098, 9.488, 4.293, 9.293)
      ..cubicTo(4.488, 9.098, 4.724, 9, 5, 9)
      ..cubicTo(5.276, 9, 5.512, 9.098, 5.707, 9.293)
      ..close()
      ..moveTo(9.293, 9.293)
      ..cubicTo(9.488, 9.098, 9.724, 9, 10, 9)
      ..cubicTo(10.276, 9, 10.512, 9.098, 10.707, 9.293)
      ..cubicTo(10.902, 9.488, 11, 9.724, 11, 10)
      ..cubicTo(11, 10.276, 10.902, 10.512, 10.707, 10.707)
      ..cubicTo(10.512, 10.902, 10.276, 11, 10, 11)
      ..cubicTo(9.724, 11, 9.488, 10.902, 9.293, 10.707)
      ..cubicTo(9.098, 10.512, 9, 10.276, 9, 10)
      ..cubicTo(9, 9.724, 9.098, 9.488, 9.293, 9.293)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

  @override
  bool shouldRepaint(_TramIconPainter old) => old.color != color;
}
```
