Train F icon
jam:train-f
The Train F icon (jam:train-f) is a free SVG icon from the Jam Icons set by Michael Amprimo. It is drawn on a 24 × 24 grid. Jam Icons 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
- Jam Icons
- Author
- Michael Amprimo
- License
- MIT
- Size
- 24 × 24
- Tags
- trainf
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M4 2a2 2 0 0 0-2 2v5.038l12-.023V4a2 2 0 0 0-2-2zm7.667 15L11 16H5l-.667 1H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8a4 4 0 0 1 4 4v9a4 4 0 0 1-4 4zM4 14a1 1 0 1 0 0-2a1 1 0 0 0 0 2m8 0a1 1 0 1 0 0-2a1 1 0 0 0 0 2m0-11a1 1 0 0 1 1 1v3a1 1 0 0 1-2 0V4a1 1 0 0 1 1-1M4.314 17.029l7.371-.001l.279.417A1 1 0 0 1 11.13 19H4.87a1 1 0 0 1-.833-1.555z"/></svg>How to use the Train F icon
React
import { Icon } from "@iconify/react";
<Icon icon="jam:train-f" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="jam:train-f" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="jam:train-f" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[jam--train-f]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/jam -->
<div class="i-jam:train-f"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="jam:train-f"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/jam/train-f.svg" alt="Train F icon" width="24" height="24">Related icons in Jam Icons
Train F icon FAQ
Is the Train F icon free for commercial use?
Yes. Jam Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Train F icon in React?
Install @iconify/react and render <Icon icon="jam:train-f" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Train F icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/jam/train-f.svg" alt="Train F icon">, or paste the SVG code inline to style it with CSS.