Railway Car
The railway-car icon represents a vehicle used for transporting people or goods by rail.
Exports at 24 × 24 px
Code
Railway Car in your framework
In any framework. Customize it above, and the code follows.
export const RailwayCarIcon = (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="M5.756 15H8.25c.966 0 1.75.784 1.75 1.75v2.5A1.75 1.75 0 0 1 8.25 21H5.756a1.75 1.75 0 0 1-1.75-1.75v-2.5c0-.966.784-1.75 1.75-1.75m0 1a.75.75 0 0 0-.75.75v2.5c0 .414.336.75.75.75H8.25a.75.75 0 0 0 .75-.75v-2.5a.75.75 0 0 0-.75-.75zm11.488-1H14.75A1.75 1.75 0 0 0 13 16.75v2.5c0 .966.784 1.75 1.75 1.75h2.494a1.75 1.75 0 0 0 1.75-1.75v-2.5a1.75 1.75 0 0 0-1.75-1.75M14 16.75a.75.75 0 0 1 .75-.75h2.494a.75.75 0 0 1 .75.75v2.5a.75.75 0 0 1-.75.75H14.75a.75.75 0 0 1-.75-.75z"/><path d="m12.82 7.994l-2.982-1.53a.5.5 0 0 1-.042-.865l4.212-2.707A1 1 0 0 1 15 2h2.002c.511 0 .933.384.991.88l4.105 2.723a.5.5 0 0 1-.041.858l-2.888 1.533H20a1 1 0 0 1 1 1V9h5.71a4.294 4.294 0 0 1 4.294 4.294V25a2 2 0 0 1-2 2H27v.5a.5.5 0 0 1-.5.5h-2.488A2.006 2.006 0 0 1 20 28h-8a2 2 0 0 1-4 0H5.503a.5.5 0 0 1-.5-.5V27H2.999a2 2 0 0 1-2-2V13h.01a4.294 4.294 0 0 1 4.285-4h5.7v-.006a1 1 0 0 1 1-1zM11.067 5.97l3.944 2.023h2.026l3.809-2.022l-3.262-2.164a1 1 0 0 1-.582.187H15a1 1 0 0 1-.576-.182zM28.985 13H3.02a2 2 0 0 0-.019.294V24h19v-9.25a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 .75.75V24h1.004V13.294q0-.15-.019-.294m-5.991 3.75v2.5c0 .414.336.75.75.75h2.494a.75.75 0 0 0 .75-.75v-2.5a.75.75 0 0 0-.75-.75h-2.494a.75.75 0 0 0-.75.75"/></g>
</svg>
);Other libraries
Railway Car 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
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
Railway Car 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 Railway Car 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 Railway Car icon means and where it's used, then how to install, style, label and license it.
The railway-car icon represents a vehicle used for transporting people or goods by rail. It symbolizes the railway industry and is often associated with transportation, logistics, and travel. The icon is used to indicate railway-related services or infrastructure.
In real-world applications, the railway-car icon appears in railway stations, transportation hubs, and websites related to rail travel. It is also used in software and platforms focused on logistics, supply chain management, and transportation planning.
From a UX perspective, the railway-car icon communicates movement and transportation, helping users understand that a service or feature is related to rail travel. It can be used to facilitate navigation and provide visual cues for users.
Railway Car 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 RailwayCarIcon to components/icons/fluent-emoji-high-contrast-railway-car.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 RailwayCarIcon 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 Railway Car 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="Railway Car", so screen readers say what it does.
Yes. RailwayCarIcon passes every SVG prop to the svg element, so <RailwayCarIcon 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 Railway Car. 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, logistics, railway and commute. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Railway Car in another set.
4.9 out of 5 from 150+ developers
Install Railway Car from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro