Train
The train icon represents a mode of transportation on rails.
Exports at 24 × 24 px
Code
Train in your framework
In any framework. Customize it above, and the code follows.
export const TrainIcon = (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="M13 18.5a1.5 1.5 0 1 1-3 0a1.5 1.5 0 0 1 3 0m9 0a1.5 1.5 0 1 1-3 0a1.5 1.5 0 0 1 3 0m-8 0a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5"/><path fillRule="evenodd" d="M10.243 8.97A4 4 0 0 1 14.122 4h3.754a4 4 0 0 1 3.88 4.97l-.787 3.15a5.123 5.123 0 0 1-9.94 0zM14.122 5h3.754a3 3 0 0 1 2.91 3.728L20 11.877a4.123 4.123 0 0 1-8 0l-.787-3.15A3 3 0 0 1 14.123 5" clipRule="evenodd"/><path d="M15 1a9 9 0 0 0-9 9v6a9.97 9.97 0 0 0 3.241 7.37l-2.854 4.077A2.14 2.14 0 0 0 6 28.675C6 29.407 6.593 30 7.325 30h17.35c.732 0 1.325-.593 1.325-1.325c0-.44-.135-.868-.387-1.228l-2.854-4.077A9.97 9.97 0 0 0 26 16v-6a9 9 0 0 0-9-9zm-3.364 24c1.319.64 2.8 1 4.364 1a9.96 9.96 0 0 0 4.364-1h.628c.539 0 .732.241.94.547c.168.244.274.41.306.462H9.964c.048-.066.18-.26.335-.51c.193-.314.684-.499.973-.499zm1.953-21.858A7 7 0 0 1 15 3h2a7 7 0 0 1 7 7l-1.812 3.625c-.163.325-.188.505-.188.875a1.5 1.5 0 0 0 1.5 1.5h.438a8.001 8.001 0 0 1-15.876 0H8.5a1.5 1.5 0 0 0 1.5-1.5c0-.405-.048-.595-.228-.955L8 10q.001-.453.056-.893a7.01 7.01 0 0 1 5.533-5.965M8 12.236l.878 1.756c.076.151.095.211.103.247c.009.035.019.096.019.261a.5.5 0 0 1-.5.5H8zM24 15h-.5a.5.5 0 0 1-.5-.5c0-.171.007-.226.013-.257a.7.7 0 0 1 .07-.171L24 12.236zm0 13H8l.42-.584A1 1 0 0 1 9.233 27h13.536a1 1 0 0 1 .811.416z"/></g>
</svg>
);Other libraries
Train in 8 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
- transportation68 Fluent Emoji High Contrast icons
- vehicle39 Fluent Emoji High Contrast icons
- railway10 Fluent Emoji High Contrast icons
- travel62 Fluent Emoji High Contrast icons
- journey10 Fluent Emoji High Contrast icons
- transport68 Fluent Emoji High Contrast icons
- locomotive7 Fluent Emoji High Contrast icons
- rail13 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
Train 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 Train 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 Train icon means and where it's used, then how to install, style, label and license it.
The train icon represents a mode of transportation on rails. It originates from transportation and travel contexts where movement and journey are essential. The train is a symbol of efficient travel.
In digital platforms, the train icon may appear in transportation software, travel apps, or railway websites. For example, it could be used in journey planning apps like Google Maps.
From a UX perspective, the train icon communicates transportation, movement, and journey. It helps users quickly identify relevant content or functionality related to travel and transport.
Train 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 TrainIcon to components/icons/fluent-emoji-high-contrast-train.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 TrainIcon 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 Train 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="Train", so screen readers say what it does.
Yes. TrainIcon passes every SVG prop to the svg element, so <TrainIcon 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.
8 other libraries draw an icon called Train. 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, transport, 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 Train in another set.
4.9 out of 5 from 150+ developers
Install Train from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro