Directions Railway 2 icon
material-symbols-light:directions-railway-2
The Directions Railway 2 icon (material-symbols-light:directions-railway-2) 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
- directionsrailway, direction, directions railway 2 sharp
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="m5 21l1.539-1.538h10.923L19 21zm2.308-2.308l.769-.769h-.25q-1.2 0-2.013-.842T5 15.038V8.192q0-2.84 2.024-4.516T12 2t4.976 1.676T19 8.192v6.847q0 1.2-.813 2.042t-2.014.842h-.25l.77.77zm5.62-3.726q.38-.38.38-.927t-.38-.928t-.928-.38t-.928.38t-.38.928t.38.927q.38.38.928.38t.928-.38M6 10.154h12V8.192q0-.613-.122-1.158T17.518 6H6.482q-.239.489-.361 1.034T6 8.192z"/></svg>How to use the Directions Railway 2 icon
React
import { Icon } from "@iconify/react";
<Icon icon="material-symbols-light:directions-railway-2" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="material-symbols-light:directions-railway-2" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="material-symbols-light:directions-railway-2" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[material-symbols-light--directions-railway-2]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/material-symbols-light -->
<div class="i-material-symbols-light:directions-railway-2"></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-2"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/material-symbols-light/directions-railway-2.svg" alt="Directions Railway 2 icon" width="24" height="24">Related icons in Material Symbols Light
Directions Railway 2 icon in other icon sets
Directions Railway 2 icon FAQ
Is the Directions Railway 2 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 2 icon in React?
Install @iconify/react and render <Icon icon="material-symbols-light:directions-railway-2" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Directions Railway 2 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-2.svg" alt="Directions Railway 2 icon">, or paste the SVG code inline to style it with CSS.