ICONYZ
English
Train Outline icon from Famicons

Train Outline icon

famicons:train-outline

The Train Outline icon (famicons:train-outline) is a free SVG icon from the Famicons set by Family. It is drawn on a 512 × 512 grid. Famicons are released under the MIT 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
Famicons
Author
Family
License
MIT
Size
512 × 512
Tags
trainoutline
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M344 48h-24a16 16 0 0 0-16-16h-96a16 16 0 0 0-16 16h-24a56.16 56.16 0 0 0-56 56v247c0 35.3 144 65 144 65s144-29.7 144-65V104a56 56 0 0 0-56-56m-88 304a48 48 0 1 1 48-48a48 48 0 0 1-48 48m96-160a16 16 0 0 1-16 16H176a16 16 0 0 1-16-16v-64a16 16 0 0 1 16-16h160a16 16 0 0 1 16 16ZM144 464h224m-32-32l48 48m-208-48l-48 48"/></svg>

How to use the Train Outline icon

React

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

<Icon icon="famicons:train-outline" width="24" />

Vue

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

<template>
  <Icon icon="famicons:train-outline" width="24" />
</template>

Svelte

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

<Icon icon="famicons:train-outline" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[famicons--train-outline]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/famicons -->
<div class="i-famicons:train-outline"></div>

Web component

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

<iconify-icon icon="famicons:train-outline"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/famicons/train-outline.svg" alt="Train Outline icon" width="24" height="24">

Related icons in Famicons

Train Outline icon in other icon sets

Train Outline icon FAQ

Is the Train Outline icon free for commercial use?

Yes. Famicons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Train Outline icon in React?

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

How do I add the Train Outline icon to a web page?

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

Browse all Famicons →