ICONYZ
English
Locomotive icon from Twitter Emoji

Locomotive icon

twemoji:locomotive

The Locomotive icon (twemoji:locomotive) is a free SVG icon from the Twitter Emoji set by Twitter. It is drawn on a 36 × 36 grid. Twitter Emoji icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Twitter Emoji
Author
Twitter
License
CC-BY-4.0
Size
36 × 36
Category
Travel & Places
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36"><path fill="#939598" d="M0 34h36v2H0z"/><path fill="#231f20" d="M6 27h29v5H6z"/><circle cx="6.999" cy="32" r="3" fill="#58595b"/><circle cx="12.999" cy="32" r="3" fill="#58595b"/><circle cx="6.999" cy="32" r="1.5" fill="#a0041e"/><circle cx="12.999" cy="32" r="1.5" fill="#a0041e"/><path fill="#dd2e44" d="M5 33H1c-1 0-1.5-.5 0-2l4-4c1-1 2-2.001 2 0v4c0 2-.001 2-2 2"/><path fill="#231f20" d="M8 20c0 3.313-1.343 6-3 6s-3-2.687-3-6s1.343-6 3-6s3 2.686 3 6"/><path fill="#6d6e71" d="M11 15H7L5 7h8z"/><path fill="#414042" d="M26 25a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V15a2 2 0 0 1 2-2h18a2 2 0 0 1 2 2z"/><path fill="#c1694f" d="M13 26a1 1 0 1 1-2 0V13a1 1 0 0 1 2 0zm6 0a1 1 0 1 1-2 0V13a1 1 0 1 1 2 0z"/><path fill="#808285" d="M36 26a1 1 0 0 1-1 1H7a1 1 0 1 1 0-2h28a1 1 0 0 1 1 1"/><circle cx="29.999" cy="31" r="4" fill="#58595b"/><circle cx="21.999" cy="31" r="4" fill="#58595b"/><circle cx="29.999" cy="31" r="2" fill="#a0041e"/><circle cx="21.999" cy="31" r="2" fill="#a0041e"/><path fill="#414042" d="M12 3H6a1 1 0 0 0-1 1v3h8V4a1 1 0 0 0-1-1"/><path fill="#be1931" d="M23 7h12v18H23z"/><path fill="#a0041e" d="M36 6a1 1 0 0 1-1 1H23a1 1 0 1 1 0-2h12a1 1 0 0 1 1 1"/><path fill="#ea596e" d="M25 18h8v5h-8z"/><path fill="#f4900c" d="M30 32h-8q-.192 0-.371-.071L16.807 30H10a1 1 0 1 1 0-2h7q.193 0 .372.071L22.192 30H30a1 1 0 1 1 0 2"/><path fill="#55acee" d="M33 10a1 1 0 0 0-1-1h-6a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1z"/></svg>

How to use the Locomotive icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

How do I use the Locomotive icon in React?

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

Browse all Twitter Emoji icons →