ICONYZ
English
National Rail icon from Custom Brand Icons

National Rail icon

cbi:national-rail

The National Rail icon (cbi:national-rail) is a free SVG icon from the Custom Brand Icons set by Emanuele & rchiileea. It is drawn on a 24 × 24 grid. Custom Brand Icons use the CC BY-NC-SA 4.0 license, which does not allow commercial use without separate permission from the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Custom Brand Icons
Author
Emanuele & rchiileea
License
CC-BY-NC-SA-4.0
Size
24 × 24
Tags
nationalrail
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="m5.633 5.723l6.619 3.022H2v2.05h10.324l-5.036 2.446H2v2.014h5.324l6.295 3.022h4.712l-6.619-3.022H22v-2.014H11.676l5.036-2.446h5.252v-2.05h-5.288l-6.295-3.022Z"/></svg>

How to use the National Rail icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Custom Brand Icons

National Rail icon in other icon sets

National Rail icon FAQ

Is the National Rail icon free for commercial use?

No. Custom Brand Icons use the CC BY-NC-SA 4.0 license, which does not allow commercial use without separate permission from the author.

How do I use the National Rail icon in React?

Install @iconify/react and render <Icon icon="cbi: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/cbi/national-rail.svg" alt="National Rail icon">, or paste the SVG code inline to style it with CSS.

Browse all Custom Brand Icons →