Directions Railway 2 Outline icon
material-symbols:directions-railway-2-outline
The Directions Railway 2 Outline icon (material-symbols:directions-railway-2-outline) is a free SVG icon from the Material Symbols set by Google. It is drawn on a 24 × 24 grid. Material Symbols 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
- Author
- License
- Apache-2.0
- Size
- 24 × 24
- Category
- Transit
- Tags
- directionsrailway, railwayoutline, directionsrailwayoutline, direction, directions railway 2 outline sharp
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="m4 22l2-2h12l2 2zm3-3l1-1h-.5q-1.45 0-2.475-1.025T4 14.5V8q0-3.225 2.313-5.113T12 1t5.688 1.888T20 8v6.5q0 1.45-1.025 2.475T16.5 18H16l1 1zm.5-3h9q.625 0 1.063-.437T18 14.5V11H6v3.5q0 .625.438 1.063T7.5 16m5.563-1.437q.437-.438.437-1.063t-.437-1.062T12 12t-1.062.438T10.5 13.5t.438 1.063T12 15t1.063-.437M6 9h12V8q0-.575-.112-1.062T17.575 6H6.425q-.2.45-.312.938T6 8zm2.225-5h7.55q-.775-.5-1.737-.75T12 3t-2.037.25T8.225 4M12 4"/></svg>How to use the Directions Railway 2 Outline icon
React
import { Icon } from "@iconify/react";
<Icon icon="material-symbols:directions-railway-2-outline" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="material-symbols:directions-railway-2-outline" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="material-symbols:directions-railway-2-outline" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[material-symbols--directions-railway-2-outline]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/material-symbols -->
<div class="i-material-symbols:directions-railway-2-outline"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="material-symbols:directions-railway-2-outline"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/material-symbols/directions-railway-2-outline.svg" alt="Directions Railway 2 Outline icon" width="24" height="24">Related icons in Material Symbols
Directions Railway 2 Outline icon in other icon sets
Directions Railway 2 Outline icon FAQ
Is the Directions Railway 2 Outline icon free for commercial use?
Yes. Material Symbols 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 Outline icon in React?
Install @iconify/react and render <Icon icon="material-symbols:directions-railway-2-outline" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Directions Railway 2 Outline icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/material-symbols/directions-railway-2-outline.svg" alt="Directions Railway 2 Outline icon">, or paste the SVG code inline to style it with CSS.