ICONYZ
English
Train Filled icon from Griddy Icons

Train Filled icon

griddy-icons:train-filled

The Train Filled icon (griddy-icons:train-filled) is a free SVG icon from the Griddy Icons set by Zuzana Benova. It is drawn on a 24 × 24 grid. Griddy 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
Griddy Icons
Author
Zuzana Benova
License
MIT
Size
24 × 24
Tags
trainfilled
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M17.25 2H6.75A2.755 2.755 0 0 0 4 4.75v12.5A2.755 2.755 0 0 0 6.75 20h.29l-.94 1.625l1.3.75L8.77 20h6.46l1.37 2.375l1.3-.75L16.96 20h.29A2.755 2.755 0 0 0 20 17.25V4.75A2.755 2.755 0 0 0 17.25 2M8 17.5c-.55 0-1-.45-1-1s.45-1 1-1s1 .45 1 1s-.45 1-1 1m3.25-4H5.5V6h5.75zm4.75 4c-.55 0-1-.45-1-1s.45-1 1-1s1 .45 1 1s-.45 1-1 1m2.5-4h-5.75V6h5.75z"/></svg>

How to use the Train Filled icon

React

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

<Icon icon="griddy-icons:train-filled" width="24" />

Vue

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

<template>
  <Icon icon="griddy-icons:train-filled" width="24" />
</template>

Svelte

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

<Icon icon="griddy-icons:train-filled" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[griddy-icons--train-filled]"></span>

UnoCSS

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

Web component

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

<iconify-icon icon="griddy-icons:train-filled"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/griddy-icons/train-filled.svg" alt="Train Filled icon" width="24" height="24">

Related icons in Griddy Icons

Train Filled icon in other icon sets

Train Filled icon FAQ

Is the Train Filled icon free for commercial use?

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

How do I use the Train Filled icon in React?

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

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

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

Browse all Griddy Icons →