train icon
train-fill from Remix Icon by Remix Design · Fill · Map · Apache-2.0 Free for personal and commercial use.
- Name
- train-fill
- Set
- Remix Icon
- Style
- Fill
- Category
- Map
- Viewbox
- 24×24
- License
- Apache 2.0
1 other variant in Remix Icon
The same icon in other sets
trainBoxIcons v2trainBoxIcons v2 SolidtrainCarbontrainEmoji One (Colored)trainFont Awesome 6 SolidtrainFont Awesome SolidtrainFluent EmojitrainFluent Emoji FlattrainFluent Emoji High ContrasttrainFirefox OS EmojitrainIconParktrainIconPark OutlinetrainIconPark SolidtrainIconPark TwoTonetrainIconoirtrainIonIconstrainJam IconstrainLine AwesometrainMaterial SymbolstrainMaterial Symbols LighttrainMaterial Design Iconstrain-fillMingCute IcontrainMyna UI IconstrainNoto Emoji
More map icons from Remix Icon
anchor-fillbarricade-fillbike-fillbus-2-fillbus-fillbus-wifi-fillcar-fillcar-washing-fillcaravan-fillcharging-pile-2-fillcharging-pile-fillchina-railway-fillcompass-2-fillcompass-3-fillcompass-4-fillcompass-discover-fillcompass-filldirection-fille-bike-2-fille-bike-fillearth-fillflight-land-fillflight-takeoff-fillfootprint-fill
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="m17.2 20l1.8 1.5v.5H5v-.5L6.8 20H5a2 2 0 0 1-2-2V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4v11a2 2 0 0 1-2 2zM5 7v4h14V7zm7 11a2 2 0 1 0 0-4a2 2 0 0 0 0 4"/></svg>
React
import type { SVGProps } from "react";
export function RiTrainFill(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="m17.2 20l1.8 1.5v.5H5v-.5L6.8 20H5a2 2 0 0 1-2-2V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4v11a2 2 0 0 1-2 2zM5 7v4h14V7zm7 11a2 2 0 1 0 0-4a2 2 0 0 0 0 4"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="m17.2 20l1.8 1.5v.5H5v-.5L6.8 20H5a2 2 0 0 1-2-2V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4v11a2 2 0 0 1-2 2zM5 7v4h14V7zm7 11a2 2 0 1 0 0-4a2 2 0 0 0 0 4"/></svg> </template>
CSS
.icon-train-fill {
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%22m17.2%2020l1.8%201.5v.5H5v-.5L6.8%2020H5a2%202%200%200%201-2-2V7a4%204%200%200%201%204-4h10a4%204%200%200%201%204%204v11a2%202%200%200%201-2%202zM5%207v4h14V7zm7%2011a2%202%200%201%200%200-4a2%202%200%200%200%200%204%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%22m17.2%2020l1.8%201.5v.5H5v-.5L6.8%2020H5a2%202%200%200%201-2-2V7a4%204%200%200%201%204-4h10a4%204%200%200%201%204%204v11a2%202%200%200%201-2%202zM5%207v4h14V7zm7%2011a2%202%200%201%200%200-4a2%202%200%200%200%200%204%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/ri/train-fill.svg?color=%231a73e8&size=48