ICONYZ
English
Locomotive icon from OpenMoji

Locomotive icon

openmoji:locomotive

The Locomotive icon (openmoji:locomotive) is a free SVG icon from the OpenMoji set. It is drawn on a 72 × 72 grid. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
OpenMoji
Author
OpenMoji
License
CC-BY-SA-4.0
Size
72 × 72
Category
Travel Places
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="72" height="72" viewBox="0 0 72 72"><path fill="#3f3f3f" d="M67.19 30.95v9.26c0 .19-.05.37-.15.51c-.07-.01-.15-.02-.23-.02H6.75a.9.9 0 0 1-.14-.49v-9.26c0-.55.46-1 1.03-1h58.51c.02 0 .05 0 .07.01c.55.03.97.46.97.99"/><path fill="#ea5a47" d="M27.14 49.66h-9.62c.58-2.11 2.51-3.66 4.81-3.66s4.23 1.55 4.81 3.66"/><path fill="#3f3f3f" d="M31.407 25.44h4.148v4.523h-4.148zm-4.111 6.292h-6.74a.037.037 0 0 1-.038-.037v-6.37a2.407 2.407 0 0 1 2.408-2.408h2.296a2.11 2.11 0 0 1 2.111 2.111v6.667c0 .02-.016.037-.037.037M9.556 18.695h3.111v11.63H9.556z"/><path fill="#3f3f3f" d="M7.56 37.73v-6.78c0-.55.45-1 1-1H45.5V18.1h20.72v12.75c.01.03.01.07.01.1v6.613z"/><path fill="#3f3f3f" d="M53.704 14.917h4.593v3.185h-4.593z"/><path fill="#ea5a47" d="M45.27 51c0 2.76-2.24 5-5 5s-5-2.24-5-5c0-.46.06-.91.19-1.34c.44-1.63 1.7-2.93 3.31-3.42q.72-.24 1.5-.24c.93 0 1.79.25 2.53.69c1.11.65 1.94 1.71 2.28 2.97c.13.43.19.88.19 1.34"/><path fill="none" d="M29.824 48.692h3.167"/><path fill="#ea5a47" d="M68 41.88v.82c0 .65-.53 1.18-1.19 1.18H65v4.71c0 .59-.48 1.07-1.07 1.07h-5.81q-.195-.69-.57-1.29A5 5 0 0 0 53.3 46c-1.39 0-2.64.56-3.55 1.48c-.59.6-1.04 1.34-1.27 2.18h-3.4a4.94 4.94 0 0 0-2.28-2.97c-.74-.44-1.6-.69-2.53-.69q-.78 0-1.5.24a4.93 4.93 0 0 0-3.31 3.42h-8.32c-.58-2.11-2.51-3.66-4.81-3.66s-4.23 1.55-4.81 3.66H9.04a2.28 2.28 0 0 1-2.28-2.28v-3.5H5.19c-.66 0-1.19-.53-1.19-1.18v-.82c0-.65.53-1.18 1.19-1.18h61.62c.08 0 .16.01.23.02c.55.11.96.59.96 1.16"/><path fill="#ea5a47" d="M58.3 51c0 2.76-2.24 5-5 5c-2.77 0-5-2.24-5-5c0-.46.06-.91.18-1.34c.23-.84.68-1.58 1.27-2.18c.91-.92 2.16-1.48 3.55-1.48c1.79 0 3.37.95 4.25 2.37q.375.6.57 1.29c.12.43.18.88.18 1.34m-30.97 0c0 2.76-2.24 5-5 5s-5-2.24-5-5c0-.46.06-.91.19-1.34c.58-2.11 2.51-3.66 4.81-3.66s4.23 1.55 4.81 3.66c.13.43.19.88.19 1.34"/><path d="M57.333 29.964h-8v-8.635a1 1 0 0 1 1-1h7z"/><g fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"><path d="M31.407 25.44h4.148v4.523h-4.148zm-4.077-.41v4.92h-6.81v-4.63c0-1.32 1.08-2.4 2.41-2.4h2.29c1.17 0 2.11.94 2.11 2.11M9.56 18.7h3.11v11.25H9.56z"/><path d="M66.23 37.56v-6.61c0-.03 0-.07-.01-.1V18.1H45.5v11.85H27.33M7.56 37.73v-6.78c0-.55.45-1 1-1h1m10.96 0h-7.85"/><path d="M53.704 14.917h4.593v3.185h-4.593zm-46 29.666v3.109a1 1 0 0 0 1 1h6.209m45.49 0H64a1 1 0 0 0 1-1V43.88m-35.176 4.812h3.167M68 41.88v.82c0 .65-.53 1.18-1.19 1.18H5.19c-.66 0-1.19-.53-1.19-1.18v-.82c0-.65.53-1.18 1.19-1.18h61.62c.66 0 1.19.53 1.19 1.18"/><circle cx="53.296" cy="51" r="5"/><circle cx="40.273" cy="51" r="5"/><circle cx="22.333" cy="51" r="5"/><path d="M57.162 21.297v8.667h-6.917"/></g></svg>

How to use the Locomotive icon

React

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

<Icon icon="openmoji:locomotive" width="24" />

Vue

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

<template>
  <Icon icon="openmoji:locomotive" width="24" />
</template>

Svelte

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

<Icon icon="openmoji:locomotive" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="openmoji:locomotive"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/openmoji/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. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.

How do I use the Locomotive icon in React?

Install @iconify/react and render <Icon icon="openmoji: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/openmoji/locomotive.svg" alt="Locomotive icon">, or paste the SVG code inline to style it with CSS.

Browse all OpenMoji icons →