ICONYZ
English
Trainline icon from Arcticons

Trainline icon

arcticons:trainline

The Trainline icon (arcticons:trainline) 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
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><rect width="4.792" height="6.374" x="18.692" y="31.784" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" rx="2.396" ry="2.396"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M23.484 31.784v6.374m4.776-3.978a2.396 2.396 0 0 1 2.396-2.396h0a2.396 2.396 0 0 1 2.396 2.396v3.978m-4.792-6.374v6.374M14.49 34.18a2.396 2.396 0 0 1 2.396-2.396h0m-2.397 0v6.374m-3.851-9.584v9.584m-1.673-6.374h3.347m13.56 0v6.374"/><circle cx="25.872" cy="29.306" r=".75" fill="currentColor"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M38.5 5.5h-29a4 4 0 0 0-4 4v29a4 4 0 0 0 4 4h29a4 4 0 0 0 4-4v-29a4 4 0 0 0-4-4"/></svg>

How to use the Trainline icon

React

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

<Icon icon="arcticons:trainline" width="24" />

Vue

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

<template>
  <Icon icon="arcticons:trainline" width="24" />
</template>

Svelte

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

<Icon icon="arcticons:trainline" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="arcticons:trainline"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/arcticons/trainline.svg" alt="Trainline icon" width="24" height="24">

Trainline icon FAQ

Is the Trainline 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 Trainline icon in React?

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

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

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

Browse all Arcticons →