ICONYZ
English
Train Bus icon from Material Design Icons

Train Bus icon

mdi:train-bus

The Train Bus icon (mdi:train-bus) is a free SVG icon from the Material Design Icons set by Pictogrammers. It is drawn on a 24 × 24 grid. Material Design Icons are released under the Apache 2.0 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
Material Design Icons
Author
Pictogrammers
License
Apache-2.0
Size
24 × 24
Tags
trainbus
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="M5 2h7c.8 0 1.56.32 2.12.88S15 4.2 15 5v1h-2V4H4v7h5v5H8l-3 3H4v-2l1-1c-.8 0-1.56-.32-2.12-.88S2 13.8 2 13V5c0-.8.32-1.56.88-2.12S4.2 2 5 2m.71 10.29C5.5 12.11 5.27 12 5 12c-.26 0-.5.11-.71.29c-.18.21-.29.45-.29.71c0 .27.11.5.29.71c.21.19.45.29.71.29c.27 0 .5-.1.71-.29c.19-.21.29-.44.29-.71c0-.26-.1-.5-.29-.71M11 11c0-1.66 1-3 4-3h3c3 0 4 1.34 4 3v7c0 .74-.4 1.39-1 1.73V21c0 .55-.45 1-1 1s-1-.45-1-1v-1h-5v1c0 .55-.45 1-1 1s-1-.45-1-1v-1.27c-.6-.34-1-.99-1-1.73zm2-1v4h7v-4zm1 8c.55 0 1-.45 1-1s-.45-1-1-1s-1 .45-1 1s.45 1 1 1m6-1c0-.55-.45-1-1-1s-1 .45-1 1s.45 1 1 1s1-.45 1-1"/></svg>

How to use the Train Bus icon

React

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

<Icon icon="mdi:train-bus" width="24" />

Vue

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

<template>
  <Icon icon="mdi:train-bus" width="24" />
</template>

Svelte

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

<Icon icon="mdi:train-bus" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[mdi--train-bus]"></span>

UnoCSS

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

Web component

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

<iconify-icon icon="mdi:train-bus"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/mdi/train-bus.svg" alt="Train Bus icon" width="24" height="24">

Related icons in Material Design Icons

Train Bus icon FAQ

Is the Train Bus icon free for commercial use?

Yes. Material Design Icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Train Bus icon in React?

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

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

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

Browse all Material Design Icons →