Train Sharp icon
famicons:train-sharp
The Train Sharp icon (famicons:train-sharp) 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path fill="currentColor" d="M384 32h-64a16 16 0 0 0-16-16h-96a16 16 0 0 0-16 16h-64c-16 0-32 16-32 32v288c0 23.92 160 80 160 80s160-56.74 160-80V64c0-16-16-32-32-32M256 352a48 48 0 1 1 48-48a48 48 0 0 1-48 48m112-152a8 8 0 0 1-8 8H152a8 8 0 0 1-8-8v-80a8 8 0 0 1 8-8h208a8 8 0 0 1 8 8Z"/><path fill="currentColor" d="m314 432l15.32 16H182.58L198 432l-32-13l-76.62 77h45.2l16-16h210.74l16 16h45.3l-76.36-77.75z"/></svg>How to use the Train Sharp icon
React
import { Icon } from "@iconify/react";
<Icon icon="famicons:train-sharp" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="famicons:train-sharp" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="famicons:train-sharp" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[famicons--train-sharp]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/famicons -->
<div class="i-famicons:train-sharp"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="famicons:train-sharp"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/famicons/train-sharp.svg" alt="Train Sharp icon" width="24" height="24">Related icons in Famicons
Train Sharp icon in other icon sets
Train Sharp icon FAQ
Is the Train Sharp 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 Sharp icon in React?
Install @iconify/react and render <Icon icon="famicons:train-sharp" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Train Sharp icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/famicons/train-sharp.svg" alt="Train Sharp icon">, or paste the SVG code inline to style it with CSS.