Directions Railway icon
material-symbols-light:directions-railway
The Directions Railway icon (material-symbols-light:directions-railway) is a free SVG icon from the Material Symbols Light set by Google. It is drawn on a 24 × 24 grid. Material Symbols Light icons are released under the Apache 2.0 license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Material Symbols Light
- Author
- License
- Apache-2.0
- Size
- 24 × 24
- Category
- Transit
- Tags
- automobile, car, cars, direction, maps, public, rail, railway, subway, train, tram, transit, transportation, trolley, vehicle, directionsrailway
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M6.385 19.462V19l1.5-1q-1.206 0-2.045-.84Q5 16.322 5 15.116V6q0-1.594 1.636-2.297Q8.274 3 12 3q3.762 0 5.38.694T19 6v9.116q0 1.205-.84 2.045q-.839.839-2.044.839l1.5 1v.462zM6 11h12V6.539H6zm6.793 4.293q.323-.322.323-.793t-.323-.793q-.322-.323-.793-.323t-.793.323q-.323.322-.323.793t.323.793q.322.323.793.323t.793-.323"/></svg>How to use the Directions Railway icon
React
import { Icon } from "@iconify/react";
<Icon icon="material-symbols-light:directions-railway" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="material-symbols-light:directions-railway" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="material-symbols-light:directions-railway" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[material-symbols-light--directions-railway]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/material-symbols-light -->
<div class="i-material-symbols-light:directions-railway"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="material-symbols-light:directions-railway"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/material-symbols-light/directions-railway.svg" alt="Directions Railway icon" width="24" height="24">Related icons in Material Symbols Light
Directions Railway icon in other icon sets
Directions Railway icon FAQ
Is the Directions Railway icon free for commercial use?
Yes. Material Symbols Light icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the Directions Railway icon in React?
Install @iconify/react and render <Icon icon="material-symbols-light:directions-railway" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Directions Railway icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/material-symbols-light/directions-railway.svg" alt="Directions Railway icon">, or paste the SVG code inline to style it with CSS.