Rail Light icon
maki:rail-light
The Rail Light icon (maki:rail-light) is a free SVG icon from the Maki set by Mapbox. It is drawn on a 15 × 15 grid. Maki icons are released under the CC0 license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><path fill="currentColor" d="M5.5 0C5 0 5 .5 5 .5v1a.499.499 0 1 0 1 0V1h1v2H6S4 3 4 5v3c0 3 3 3 3 3h1s3 0 3-3V5c0-2-2-2-2-2H8V1h1v.5a.499.499 0 1 0 1 0v-1c0-.5-.5-.5-.5-.5zm2 4l2.045.773L10 6.5c.132.5-.5.5-.5.5h-4s-.632 0-.5-.5l.455-1.727zm0 4a.5.5 0 1 1 0 1a.5.5 0 0 1 0-1m-3.375 4L3 15h1.5l.375-1h5.25l.375 1H12l-1.125-3h-1.5l.375 1h-4.5l.375-1z"/></svg>How to use the Rail Light icon
React
import { Icon } from "@iconify/react";
<Icon icon="maki:rail-light" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="maki:rail-light" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="maki:rail-light" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[maki--rail-light]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/maki -->
<div class="i-maki:rail-light"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="maki:rail-light"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/maki/rail-light.svg" alt="Rail Light icon" width="24" height="24">Related icons in Maki
Rail Light icon FAQ
Is the Rail Light icon free for commercial use?
Yes. Maki icons are released under the CC0 license, which allows use in personal and commercial projects.
How do I use the Rail Light icon in React?
Install @iconify/react and render <Icon icon="maki:rail-light" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Rail Light icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/maki/rail-light.svg" alt="Rail Light icon">, or paste the SVG code inline to style it with CSS.