Train Solid icon
fluent-mdl2:train-solid
The Train Solid icon (fluent-mdl2:train-solid) is a free SVG icon from the Fluent UI MDL2 set by Microsoft Corporation. It is drawn on a 2048 × 2048 grid. Fluent UI MDL2 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
- Fluent UI MDL2
- Author
- Microsoft Corporation
- License
- MIT
- Size
- 2048 × 2048
- Tags
- trainsolid
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="2048" height="2048" viewBox="0 0 2048 2048"><path fill="currentColor" d="M1882 2048h-181l-256-256H602l-256 256H165l259-258q-36-4-67-21t-53-42t-35-58t-13-69V192q0-40 15-75t41-61t61-41t75-15h1152q40 0 75 15t61 41t41 61t15 75v1408q0 36-13 68t-35 58t-53 43t-67 21zM768 384h512V256H768zm896 768V640H384v512zM576 1536q26 0 45-19t19-45t-19-45t-45-19t-45 19t-19 45t19 45t45 19m896 0q26 0 45-19t19-45t-19-45t-45-19t-45 19t-19 45t19 45t45 19"/></svg>How to use the Train Solid icon
React
import { Icon } from "@iconify/react";
<Icon icon="fluent-mdl2:train-solid" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fluent-mdl2:train-solid" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fluent-mdl2:train-solid" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fluent-mdl2--train-solid]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fluent-mdl2 -->
<div class="i-fluent-mdl2:train-solid"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fluent-mdl2:train-solid"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fluent-mdl2/train-solid.svg" alt="Train Solid icon" width="24" height="24">Related icons in Fluent UI MDL2
Train Solid icon in other icon sets
Train Solid icon FAQ
Is the Train Solid icon free for commercial use?
Yes. Fluent UI MDL2 icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Train Solid icon in React?
Install @iconify/react and render <Icon icon="fluent-mdl2:train-solid" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Train Solid icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/fluent-mdl2/train-solid.svg" alt="Train Solid icon">, or paste the SVG code inline to style it with CSS.