train-sharp from IonIcons by Ben Sperry · Sharp · MIT Free for personal and commercial use.

Name
train-sharp
Set
IonIcons
Style
Sharp
Viewbox
512×512
License
MIT

2 other variants in IonIcons

The same icon in other sets

Use the train icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><path fill="currentColor" d="M384 32h-64a16 16 0 0 0-16-16h-96a16 16 0 0 0-16 16h-64c-16 0-32 16-32 32v288c0 23.92 160 80 160 80s160-56.74 160-80V64c0-16-16-32-32-32M256 352a48 48 0 1 1 48-48a48 48 0 0 1-48 48m112-152a8 8 0 0 1-8 8H152a8 8 0 0 1-8-8v-80a8 8 0 0 1 8-8h208a8 8 0 0 1 8 8Z"/><path fill="currentColor" d="m314 432l15.32 16H182.58L198 432l-32-13l-76.62 77h45.2l16-16h210.74l16 16h45.3l-76.36-77.75z"/></svg>

React

import type { SVGProps } from "react";

export function IonTrainSharp(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><path fill="currentColor" d="M384 32h-64a16 16 0 0 0-16-16h-96a16 16 0 0 0-16 16h-64c-16 0-32 16-32 32v288c0 23.92 160 80 160 80s160-56.74 160-80V64c0-16-16-32-32-32M256 352a48 48 0 1 1 48-48a48 48 0 0 1-48 48m112-152a8 8 0 0 1-8 8H152a8 8 0 0 1-8-8v-80a8 8 0 0 1 8-8h208a8 8 0 0 1 8 8Z"/><path fill="currentColor" d="m314 432l15.32 16H182.58L198 432l-32-13l-76.62 77h45.2l16-16h210.74l16 16h45.3l-76.36-77.75z"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><path fill="currentColor" d="M384 32h-64a16 16 0 0 0-16-16h-96a16 16 0 0 0-16 16h-64c-16 0-32 16-32 32v288c0 23.92 160 80 160 80s160-56.74 160-80V64c0-16-16-32-32-32M256 352a48 48 0 1 1 48-48a48 48 0 0 1-48 48m112-152a8 8 0 0 1-8 8H152a8 8 0 0 1-8-8v-80a8 8 0 0 1 8-8h208a8 8 0 0 1 8 8Z"/><path fill="currentColor" d="m314 432l15.32 16H182.58L198 432l-32-13l-76.62 77h45.2l16-16h210.74l16 16h45.3l-76.36-77.75z"/></svg>
</template>

CSS

.icon-train-sharp {
  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%20512%20512%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M384%2032h-64a16%2016%200%200%200-16-16h-96a16%2016%200%200%200-16%2016h-64c-16%200-32%2016-32%2032v288c0%2023.92%20160%2080%20160%2080s160-56.74%20160-80V64c0-16-16-32-32-32M256%20352a48%2048%200%201%201%2048-48a48%2048%200%200%201-48%2048m112-152a8%208%200%200%201-8%208H152a8%208%200%200%201-8-8v-80a8%208%200%200%201%208-8h208a8%208%200%200%201%208%208Z%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22m314%20432l15.32%2016H182.58L198%20432l-32-13l-76.62%2077h45.2l16-16h210.74l16%2016h45.3l-76.36-77.75z%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%20512%20512%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M384%2032h-64a16%2016%200%200%200-16-16h-96a16%2016%200%200%200-16%2016h-64c-16%200-32%2016-32%2032v288c0%2023.92%20160%2080%20160%2080s160-56.74%20160-80V64c0-16-16-32-32-32M256%20352a48%2048%200%201%201%2048-48a48%2048%200%200%201-48%2048m112-152a8%208%200%200%201-8%208H152a8%208%200%200%201-8-8v-80a8%208%200%200%201%208-8h208a8%208%200%200%201%208%208Z%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22m314%20432l15.32%2016H182.58L198%20432l-32-13l-76.62%2077h45.2l16-16h210.74l16%2016h45.3l-76.36-77.75z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

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