directions railway icon
directions-railway from Material Symbols by Google · Regular · Transit · Apache-2.0 Free for personal and commercial use.
- Name
- directions-railway
- Set
- Material Symbols
- Style
- Regular
- Category
- Transit
- Viewbox
- 24×24
- License
- Apache 2.0
- Aliases
- directions-railway-sharp
3 other variants in Material Symbols
The same icon in other sets
More transit icons from Material Symbols
agricultureairlinesairport-shuttleambulanceauto-towingauto-transmissionbike-dockbike-lanebike-scooterboat-busboat-railwaybus-alertbus-map-pinbus-railwaycable-carcar-crashcar-defrost-leftcar-defrost-low-leftcar-defrost-low-rightcar-defrost-mid-leftcar-defrost-mid-low-leftcar-defrost-mid-low-rightcar-defrost-mid-rightcar-defrost-right
Use the directions railway icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M6 21v-1l1.5-1q-1.475 0-2.488-1.012T4 15.5V6q0-2.075 1.925-3.037T12 2q4.3 0 6.15.925T20 6v9.5q0 1.475-1.012 2.488T16.5 19l1.5 1v1zm0-11h12V7H6zm7.063 5.563q.437-.438.437-1.063t-.437-1.062T12 13t-1.062.438T10.5 14.5t.438 1.063T12 16t1.063-.437"/></svg>
React
import type { SVGProps } from "react";
export function MaterialSymbolsDirectionsRailway(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="M6 21v-1l1.5-1q-1.475 0-2.488-1.012T4 15.5V6q0-2.075 1.925-3.037T12 2q4.3 0 6.15.925T20 6v9.5q0 1.475-1.012 2.488T16.5 19l1.5 1v1zm0-11h12V7H6zm7.063 5.563q.437-.438.437-1.063t-.437-1.062T12 13t-1.062.438T10.5 14.5t.438 1.063T12 16t1.063-.437"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M6 21v-1l1.5-1q-1.475 0-2.488-1.012T4 15.5V6q0-2.075 1.925-3.037T12 2q4.3 0 6.15.925T20 6v9.5q0 1.475-1.012 2.488T16.5 19l1.5 1v1zm0-11h12V7H6zm7.063 5.563q.437-.438.437-1.063t-.437-1.062T12 13t-1.062.438T10.5 14.5t.438 1.063T12 16t1.063-.437"/></svg> </template>
CSS
.icon-directions-railway {
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%22M6%2021v-1l1.5-1q-1.475%200-2.488-1.012T4%2015.5V6q0-2.075%201.925-3.037T12%202q4.3%200%206.15.925T20%206v9.5q0%201.475-1.012%202.488T16.5%2019l1.5%201v1zm0-11h12V7H6zm7.063%205.563q.437-.438.437-1.063t-.437-1.062T12%2013t-1.062.438T10.5%2014.5t.438%201.063T12%2016t1.063-.437%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%22M6%2021v-1l1.5-1q-1.475%200-2.488-1.012T4%2015.5V6q0-2.075%201.925-3.037T12%202q4.3%200%206.15.925T20%206v9.5q0%201.475-1.012%202.488T16.5%2019l1.5%201v1zm0-11h12V7H6zm7.063%205.563q.437-.438.437-1.063t-.437-1.062T12%2013t-1.062.438T10.5%2014.5t.438%201.063T12%2016t1.063-.437%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/material-symbols/directions-railway.svg?color=%231a73e8&size=48