Train Fill icon
si:train-fill
The Train Fill icon (si:train-fill) is a free SVG icon from the Sargam Icons set by Abhimanyu Rana. It is drawn on a 24 × 24 grid. Sargam 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
- Sargam Icons
- Author
- Abhimanyu Rana
- License
- MIT
- Size
- 24 × 24
- Tags
- trainfill
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M16 21a1 1 0 1 1 0 2H8a1 1 0 1 1 0-2z"/><path fill="currentColor" fill-rule="evenodd" d="M17.6 1A3.4 3.4 0 0 1 21 4.4v12.2a3.4 3.4 0 0 1-3.4 3.4H6.4a3.4 3.4 0 0 1-3.395-3.225L3 16.6V4.4A3.4 3.4 0 0 1 6.4 1zM8 13a2 2 0 1 0 0 4a2 2 0 0 0 0-4m8 0a2 2 0 1 0 0 4a2 2 0 0 0 0-4M6.4 4a.4.4 0 0 0-.4.4V11h12V4.4a.4.4 0 0 0-.4-.4z" clip-rule="evenodd"/></svg>How to use the Train Fill icon
React
import { Icon } from "@iconify/react";
<Icon icon="si:train-fill" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="si:train-fill" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="si:train-fill" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[si--train-fill]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/si -->
<div class="i-si:train-fill"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="si:train-fill"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/si/train-fill.svg" alt="Train Fill icon" width="24" height="24">Related icons in Sargam Icons
Train Fill icon in other icon sets
Train Fill icon FAQ
Is the Train Fill icon free for commercial use?
Yes. Sargam Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Train Fill icon in React?
Install @iconify/react and render <Icon icon="si:train-fill" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Train Fill icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/si/train-fill.svg" alt="Train Fill icon">, or paste the SVG code inline to style it with CSS.