ICONYZ
English
Nationalrail icon from Simple Icons

Nationalrail icon

simple-icons:nationalrail

The Nationalrail icon (simple-icons:nationalrail) is a free SVG icon from the Simple Icons set by Simple Icons Collaborators. It is drawn on a 24 × 24 grid. Simple Icons are released under the CC0 1.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
Simple Icons
Author
Simple Icons Collaborators
License
CC0-1.0
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M0 12C0 5.373 5.372 0 12 0c6.627 0 11.999 5.373 11.999 12c0 6.628-5.372 12-11.999 12S0 18.628 0 12m6.195-5.842l6.076 2.794H2.835v1.884h9.499l-4.616 2.246H2.835v1.868h4.883l5.778 2.795h4.333l-6.092-2.795h9.469v-1.868h-9.453l4.616-2.246h4.837V8.952h-4.868l-5.777-2.794z"/></svg>

How to use the Nationalrail icon

React

import { Icon } from "@iconify/react";

<Icon icon="simple-icons:nationalrail" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="simple-icons:nationalrail" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="simple-icons:nationalrail" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[simple-icons--nationalrail]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/simple-icons -->
<div class="i-simple-icons:nationalrail"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="simple-icons:nationalrail"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/simple-icons/nationalrail.svg" alt="Nationalrail icon" width="24" height="24">

Nationalrail icon FAQ

Is the Nationalrail icon free for commercial use?

Yes. Simple Icons are released under the CC0 1.0 license, which allows use in personal and commercial projects.

How do I use the Nationalrail icon in React?

Install @iconify/react and render <Icon icon="simple-icons:nationalrail" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Nationalrail icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/simple-icons/nationalrail.svg" alt="Nationalrail icon">, or paste the SVG code inline to style it with CSS.

Browse all Simple Icons →