bxs train icon
bxs-train from BoxIcons v2 by Boxicons · Regular · MIT Free for personal and commercial use.
- Name
- bxs-train
- Set
- BoxIcons v2
- Style
- Regular
- Viewbox
- 24×24
- License
- MIT
Related icons in BoxIcons v2
bxs-add-to-queuebxs-adjustbxs-adjust-altbxs-alarmbxs-alarm-addbxs-alarm-exclamationbxs-alarm-offbxs-alarm-snoozebxs-albumbxs-ambulancebxs-analysebxs-angrybxs-archbxs-archivebxs-archive-inbxs-archive-outbxs-areabxs-arrow-from-bottombxs-arrow-from-leftbxs-arrow-from-rightbxs-arrow-from-topbxs-arrow-to-bottombxs-arrow-to-leftbxs-arrow-to-right
Use the bxs train icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path d="M16.375 2H7.621c-.224 0-1.399.065-2.503 1.351C4.031 4.616 4 5.862 4 6v11a2 2 0 0 0 2 2h1l-2 3h2.353l.667-1h8l.677 1H19l-2-3h1a2 2 0 0 0 2-2V6c.001-.188-.032-1.434-1.129-2.665C17.715 2.037 16.509 2 16.375 2zM10 4h4v2h-4V4zM7.5 17a1.5 1.5 0 1 1 .001-3.001A1.5 1.5 0 0 1 7.5 17zm9 0a1.5 1.5 0 1 1 .001-3.001A1.5 1.5 0 0 1 16.5 17zm1.5-5H6V8h12v4z" fill="currentColor"/></svg>
React
import type { SVGProps } from "react";
export function BxBxsTrain(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path d="M16.375 2H7.621c-.224 0-1.399.065-2.503 1.351C4.031 4.616 4 5.862 4 6v11a2 2 0 0 0 2 2h1l-2 3h2.353l.667-1h8l.677 1H19l-2-3h1a2 2 0 0 0 2-2V6c.001-.188-.032-1.434-1.129-2.665C17.715 2.037 16.509 2 16.375 2zM10 4h4v2h-4V4zM7.5 17a1.5 1.5 0 1 1 .001-3.001A1.5 1.5 0 0 1 7.5 17zm9 0a1.5 1.5 0 1 1 .001-3.001A1.5 1.5 0 0 1 16.5 17zm1.5-5H6V8h12v4z" fill="currentColor"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path d="M16.375 2H7.621c-.224 0-1.399.065-2.503 1.351C4.031 4.616 4 5.862 4 6v11a2 2 0 0 0 2 2h1l-2 3h2.353l.667-1h8l.677 1H19l-2-3h1a2 2 0 0 0 2-2V6c.001-.188-.032-1.434-1.129-2.665C17.715 2.037 16.509 2 16.375 2zM10 4h4v2h-4V4zM7.5 17a1.5 1.5 0 1 1 .001-3.001A1.5 1.5 0 0 1 7.5 17zm9 0a1.5 1.5 0 1 1 .001-3.001A1.5 1.5 0 0 1 16.5 17zm1.5-5H6V8h12v4z" fill="currentColor"/></svg> </template>
CSS
.icon-bxs-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%20d%3D%22M16.375%202H7.621c-.224%200-1.399.065-2.503%201.351C4.031%204.616%204%205.862%204%206v11a2%202%200%200%200%202%202h1l-2%203h2.353l.667-1h8l.677%201H19l-2-3h1a2%202%200%200%200%202-2V6c.001-.188-.032-1.434-1.129-2.665C17.715%202.037%2016.509%202%2016.375%202zM10%204h4v2h-4V4zM7.5%2017a1.5%201.5%200%201%201%20.001-3.001A1.5%201.5%200%200%201%207.5%2017zm9%200a1.5%201.5%200%201%201%20.001-3.001A1.5%201.5%200%200%201%2016.5%2017zm1.5-5H6V8h12v4z%22%20fill%3D%22currentColor%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%20d%3D%22M16.375%202H7.621c-.224%200-1.399.065-2.503%201.351C4.031%204.616%204%205.862%204%206v11a2%202%200%200%200%202%202h1l-2%203h2.353l.667-1h8l.677%201H19l-2-3h1a2%202%200%200%200%202-2V6c.001-.188-.032-1.434-1.129-2.665C17.715%202.037%2016.509%202%2016.375%202zM10%204h4v2h-4V4zM7.5%2017a1.5%201.5%200%201%201%20.001-3.001A1.5%201.5%200%200%201%207.5%2017zm9%200a1.5%201.5%200%201%201%20.001-3.001A1.5%201.5%200%200%201%2016.5%2017zm1.5-5H6V8h12v4z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/bx/bxs-train.svg?color=%231a73e8&size=48