ICONYZ
English
Locomotive icon from Fluent Emoji Flat

Locomotive icon

fluent-emoji-flat:locomotive

The Locomotive icon (fluent-emoji-flat:locomotive) is a free SVG icon from the Fluent Emoji Flat set by Microsoft Corporation. It is drawn on a 32 × 32 grid. Fluent Emoji Flat 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 Emoji Flat
Author
Microsoft Corporation
License
MIT
Size
32 × 32
Category
Travel & Places
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><g fill="none"><path fill="#ffb02e" d="M6.527 20a1.5 1.5 0 1 0 0-3a1.5 1.5 0 0 0 0 3"/><path fill="#1c1c1c" d="M29.027 28h-21v-4h21z"/><path fill="#636363" d="M7.027 9.41V7h10v2.41c0 .38-.15.74-.42 1.01L15.027 12v3.004H9.004V12l-1.557-1.58c-.27-.27-.42-.63-.42-1.01"/><path fill="#636363" d="M7.027 6L12 7l5.027-1V4c0-.55-.45-1-1-1h-8c-.55 0-1 .45-1 1zm.78 18h15.72V14H8.777c-1.52 0-2.75 1.23-2.75 2.75v5.47c0 .98.8 1.78 1.78 1.78"/><path fill="#f92f60" d="M29.017 24h-9.99V7.76c0-.97.78-1.75 1.75-1.75h6.49c.97 0 1.75.78 1.75 1.75zm-2.89-10c.49 0 .9-.4.9-.9V8.9c0-.5-.4-.9-.9-.9h-4.2c-.5 0-.9.4-.9.9v4.2c0 .5.4.9.9.9zm-19.1 15h-4.3c-.65 0-.97-.78-.51-1.24L7.027 23l1 1v5z"/><path fill="#d3d3d3" d="M29.027 22h-23v2h23z"/><path fill="#ffb02e" d="M17.027 6h-10v2h10z"/><path fill="#636363" d="M21 29a3 3 0 0 0 3-3a3 3 0 1 0 6 0a3 3 0 0 0-6 0a3 3 0 1 0-3 3m-8-2a2 2 0 1 1-4 0a2 2 0 0 1 4 0m2 2a2 2 0 1 1 0-4a2 2 0 0 1 0 4"/><path fill="#d3d3d3" d="M21 28a2 2 0 1 0 0-4a2 2 0 0 0 0 4m-6-2h-4c-.55 0-1 .45-1 1s.45 1 1 1h4c.55 0 1-.45 1-1s-.45-1-1-1m14 0a2 2 0 1 1-4 0a2 2 0 0 1 4 0"/></g></svg>

How to use the Locomotive icon

React

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

<Icon icon="fluent-emoji-flat:locomotive" width="24" />

Vue

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

<template>
  <Icon icon="fluent-emoji-flat:locomotive" width="24" />
</template>

Svelte

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

<Icon icon="fluent-emoji-flat:locomotive" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[fluent-emoji-flat--locomotive]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/fluent-emoji-flat -->
<div class="i-fluent-emoji-flat:locomotive"></div>

Web component

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

<iconify-icon icon="fluent-emoji-flat:locomotive"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/fluent-emoji-flat/locomotive.svg" alt="Locomotive icon" width="24" height="24">

Locomotive icon in other icon sets

Locomotive icon FAQ

Is the Locomotive icon free for commercial use?

Yes. Fluent Emoji Flat icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Locomotive icon in React?

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

How do I add the Locomotive icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/fluent-emoji-flat/locomotive.svg" alt="Locomotive icon">, or paste the SVG code inline to style it with CSS.

Browse all Fluent Emoji Flat icons →