Locomotive
The locomotive icon represents a type of powered vehicle used for hauling trains.
Exports at 24 × 24 px
Code
Locomotive in your framework
In any framework. Customize it above, and the code follows.
export const LocomotiveIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 32 32" {...props}>
<g fill="currentColor"><path d="M19 26a2 2 0 1 1 4 0a2 2 0 0 1-4 0m8 2a2 2 0 1 0 0-4a2 2 0 0 0 0 4"/><path d="M4.027 23.153V21H4v-.082a3.5 3.5 0 0 1 .087-4.929a4.77 4.77 0 0 1 2.591-3.5l-.645-.655A3.4 3.4 0 0 1 5.027 9.41V4a3 3 0 0 1 3-3h7.999a3 3 0 0 1 3 3v.444a3.7 3.7 0 0 1 1.75-.434h6.49a3.754 3.754 0 0 1 3.75 3.75V20h.01v3.037A5 5 0 0 1 24 30a5 5 0 0 1-6 0h-.356a3.99 3.99 0 0 1-4.644.462a4 4 0 0 1-1.973.538h-8.3A2.724 2.724 0 0 1 .81 26.338zM16.027 3h-8a1 1 0 0 0-1 1v2h10V4a1 1 0 0 0-1-1m1 5h-10v1.41a1.42 1.42 0 0 0 .42 1.01L9 12v1h6.027v-1l1.58-1.58a1.42 1.42 0 0 0 .42-1.01zm-8.254 6a2.75 2.75 0 0 0-2.746 2.75v.335l-.027.01a1.501 1.501 0 0 0 0 2.81l.027.01V20h13v-6zm-2.746 7v2.99l-3.81 3.77a.724.724 0 0 0 .51 1.24H8v-2a3 3 0 0 1 3-3h6.535A3.998 3.998 0 0 1 24 23.354A4 4 0 0 1 27 22c.74 0 1.433.2 2.027.55V22h-.01v-1zm18.557 6.779l.021.028a3 3 0 0 0 1.128.911A3 3 0 1 0 24 26a3 3 0 0 0-.746-1.98A3 3 0 0 0 21 23a3 3 0 0 0-2.236 1a3 3 0 0 0-.75 2.285A3 3 0 0 0 24 26c-.001.666.216 1.28.583 1.779M17 27a2 2 0 0 0-3.732-1H15c.55 0 1 .45 1 1s-.45 1-1 1h-1.732A2 2 0 0 0 17 27m-8 0l.001.068a2 2 0 0 0 3.73.932H11c-.55 0-1-.45-1-1s.45-1 1-1h1.732A1.99 1.99 0 0 0 11 25a2 2 0 0 0-2 2M27.027 8.9c0-.5-.4-.9-.9-.9h-4.2c-.5 0-.9.4-.9.9v4.2c0 .5.4.9.9.9h4.2c.49 0 .9-.4.9-.9z"/></g>
</svg>
);Other libraries
Locomotive in 2 more libraries
Each library draws it its own way. Open one to compare.
Fluent Emoji High Contrast
More like it
Icons that share its tags, in the same style.
Search Fluent Emoji High Contrast
- train19 Fluent Emoji High Contrast icons
- transportation68 Fluent Emoji High Contrast icons
- railway10 Fluent Emoji High Contrast icons
- travel62 Fluent Emoji High Contrast icons
- journey10 Fluent Emoji High Contrast icons
- vehicle39 Fluent Emoji High Contrast icons
- transport68 Fluent Emoji High Contrast icons
Skip the copy and paste. With Pro, your AI agent finds and installs any Fluent Emoji High Contrast icon from a prompt.
Get ProTags
Browse by tag
Locomotive is tagged transportation, travel, vehicle and 3 more. Related tags follow; each opens its icons from every library.
Pricing
Fluent Emoji High Contrast MCP, with Pro
Ask for Locomotive or any of 1,594 Fluent Emoji High Contrast icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
What the Locomotive icon means and where it's used, then how to install, style, label and license it.
The locomotive icon represents a type of powered vehicle used for hauling trains. It originates from the railway and transportation industry, symbolizing travel and movement. Locomotives are critical for freight and passenger rail services.
In real-world applications, the locomotive icon appears in railway management software, transportation planning tools, and travel guides. It's used in railway station signage, public transportation apps, and logistics platforms.
From a UX perspective, the locomotive icon communicates movement and transportation, helping users navigate to travel-related content or plan journeys. It adds a dynamic touch to interfaces.
Locomotive is one of 1,594 icons in Fluent Emoji High Contrast, made by Microsoft Corporation and released under MIT. It is drawn on a 32 × 32 grid.
Sign in (it's free), then open Get icon, Install with shadcn CLI, and pick your package manager to copy the command. It adds LocomotiveIcon to components/icons/fluent-emoji-high-contrast-locomotive.tsx: one file, a size prop (24 by default) and every SVG prop, with no icon package.
Copy it as React (from Get icon, or the Code section): a typed LocomotiveIcon component you paste into your project, with no package to install. Only the icons you import reach your bundle. It works in Next.js and any React app.
Open Get icon, then Copy as code, and pick Vue, Svelte, Angular, Solid or Preact; the Code section shows each one too. Every version is one self-contained component with the SVG inside, and SVG and data URL copies are there for plain HTML and CSS.
With Pro, the shadcn.io MCP server lets Claude Code, Cursor or any MCP client find the Locomotive icon, or any of 1,594 Fluent Emoji High Contrast icons, and install it from a prompt.
It's drawn in currentColor, so it takes the text color wherever you use it: a class like text-primary recolors it. To bake a color in, set one in Customize before you copy.
Set width and height on the component, or a class like size-6. It's drawn on a 32 × 32 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It follows the text color, so with text-foreground (or any theme token) it changes with your light and dark themes. The icon is a vector, so it needs no separate dark asset.
Next to a visible label it's decoration: add aria-hidden="true" so screen readers skip it. Standing alone, as in an icon button, give the button a name instead, like aria-label="Locomotive", so screen readers say what it does.
Yes. LocomotiveIcon passes every SVG prop to the svg element, so <LocomotiveIcon aria-hidden="true" /> works, and so do role="img" with aria-label, or a title child, when it carries meaning on its own.
Yes. Open Get icon, then Download file: SVG for code or design tools like Figma; PNG, WebP or JPEG at 512px; or an ICO favicon with 16, 32 and 48px inside. Each one uses what you set in Customize.
Yes. MIT allows commercial use; keep the license notice when you ship the icons' source files. The full terms are in the license, linked on this page.
No visible credit is required: MIT only asks that you keep the license notice if you ship the icons' source files. Icons installed with the shadcn CLI already start with a comment naming Fluent Emoji High Contrast, Microsoft Corporation and the license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
2 other libraries draw an icon called Locomotive. The Other libraries section on this page shows each one, so you can compare them and open the one that fits your style.
Its tags are transportation, travel, vehicle, infrastructure, journey and railway. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Locomotive in another set.
4.9 out of 5 from 150+ developers
Install Locomotive from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro