ICONYZ
English
National Rail icon from Arcticons

National Rail icon

arcticons:national-rail

The National Rail icon (arcticons:national-rail) is a free SVG icon from the Arcticons set by Donnnno. It is drawn on a 48 × 48 grid. Arcticons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Arcticons
Author
Donnnno
License
CC-BY-SA-4.0
Size
48 × 48
Tags
nationalrail
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M4.5 20.468h39m-39 7.064h39M16.757 13.403l14.486 7.065l-14.486 7.065l14.486 7.065"/></svg>

How to use the National Rail icon

React

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

<Icon icon="arcticons:national-rail" width="24" />

Vue

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

<template>
  <Icon icon="arcticons:national-rail" width="24" />
</template>

Svelte

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

<Icon icon="arcticons:national-rail" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[arcticons--national-rail]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/arcticons -->
<div class="i-arcticons:national-rail"></div>

Web component

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

<iconify-icon icon="arcticons:national-rail"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/arcticons/national-rail.svg" alt="National Rail icon" width="24" height="24">

Related icons in Arcticons

National Rail icon in other icon sets

National Rail icon FAQ

Is the National Rail icon free for commercial use?

Yes. Arcticons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.

How do I use the National Rail icon in React?

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

How do I add the National Rail icon to a web page?

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

Browse all Arcticons →