Railway Car
The railway car icon represents a vehicle used for transporting goods or people on rails, originating from the early railroad industry.
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 72 72" fill="none" stroke="currentColor" {...props}>
<path fill="#fff" d="M64.728 32.61H7.306V21.687a1.86 1.86 0 0 1 1.861-1.862h53.7a1.86 1.86 0 0 1 1.86 1.862Z"/><path fill="#ea5a47" d="M7.306 30.352h57.422V43.94a2.06 2.06 0 0 1-2.06 2.06H9.365a2.06 2.06 0 0 1-2.06-2.06Z"/><path fill="#d0cfce" d="M12.974 26.106h9.014v20.892h-9.014z"/><path fill="#92d3f5" d="M34.213 36.097h-6.12c-.573 0-1.037-.34-1.037-.76v-8.472c0-.42.464-.76 1.036-.76h6.12c.573 0 1.037.34 1.037.76v8.473c0 .419-.464.759-1.037.759m12.212 0h-6.12c-.573 0-1.037-.34-1.037-.76v-8.472c0-.42.464-.76 1.037-.76h6.12c.572 0 1.036.34 1.036.76v8.473c0 .419-.464.759-1.036.759m12.211 0h-6.12c-.573 0-1.037-.34-1.037-.76v-8.472c0-.42.464-.76 1.037-.76h6.12c.572 0 1.037.34 1.037.76v8.473c0 .419-.465.759-1.037.759"/><path fill="#3f3f3f" d="M7.305 46.997h57.423v1.35a1.795 1.795 0 0 1-1.795 1.794H9.1a1.795 1.795 0 0 1-1.795-1.795z"/><path fill="#d0cfce" d="M18.442 57a6.006 6.006 0 0 1-5.913-7.023a1 1 0 0 1 .984-.83l9.853-.006h.001a1 1 0 0 1 .986.828A6.002 6.002 0 0 1 18.442 57m35.196 0a6.007 6.007 0 0 1-6-6a6 6 0 0 1 .086-1.02a1 1 0 0 1 .985-.833l9.855-.006a1 1 0 0 1 .986.828A6.007 6.007 0 0 1 53.638 57"/><g fill="none" stroke="#000" strokeLinecap="round" strokeLinejoin="round"><path strokeWidth="2.152" d="M62.595 50.141H9.438a2.133 2.133 0 0 1-2.133-2.132V22.91a2.9 2.9 0 0 1 2.664-3.085h52.095a2.9 2.9 0 0 1 2.664 3.085v25.1a2.133 2.133 0 0 1-2.133 2.132"/><path strokeWidth="2" d="M5.887 46h7.037V27.61a1.363 1.363 0 0 1 1.15-1.504h6.796a1.363 1.363 0 0 1 1.15 1.504V46H65.9"/><path strokeWidth="2" d="M34.213 36.097h-6.12c-.573 0-1.037-.34-1.037-.76v-8.472c0-.42.464-.76 1.036-.76h6.12c.573 0 1.037.34 1.037.76v8.473c0 .419-.464.759-1.037.759m12.212 0h-6.12c-.573 0-1.037-.34-1.037-.76v-8.472c0-.42.464-.76 1.037-.76h6.12c.572 0 1.036.34 1.036.76v8.473c0 .419-.464.759-1.036.759m12.211 0h-6.12c-.573 0-1.037-.34-1.037-.76v-8.472c0-.42.464-.76 1.037-.76h6.12c.572 0 1.037.34 1.037.76v8.473c0 .419-.465.759-1.037.759M23.368 50.141a5 5 0 1 1-9.854.006m45.051-.006a5 5 0 1 1-9.854.006"/><path strokeWidth="2.152" d="M15.737 35.958h-2.763"/><path strokeWidth="2" d="m54.321 19.826l-6.194-7.451l6.56-7.019"/></g>
</svg>
);Other libraries
Railway Car in 3 more libraries
Each library draws it its own way. Open one to compare.
OpenMoji
More like it
Icons that share its tags, in the same style.
Search OpenMoji
Skip the copy and paste. With Pro, your AI agent finds and installs any OpenMoji icon from a prompt.
Get ProTags
Browse by tag
Railway Car is tagged transportation, travel, logistics and 2 more. Related tags follow; each opens its icons from every library.
Pricing
OpenMoji MCP, with Pro
Ask for Railway Car or any of 4,481 OpenMoji 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 goods or people on rails, originating from the early railroad industry. It symbolizes land transportation and logistics.
In software and web development, the railway car icon appears in contexts like transportation management systems, logistics platforms, and travel websites like Expedia or railway company websites.
From a UX perspective, the railway car icon communicates a mode of transportation and logistics, helping users understand functionality related to travel or goods movement.
Railway Car is one of 4,481 icons in OpenMoji, made by OpenMoji and released under CC BY-SA 4.0. It is drawn on a 72 × 72 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/openmoji-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 4,481 OpenMoji icons, and install it from a prompt.
It's multicolor, so it keeps its own colors.
Set width and height on the component, or a class like size-6. It's drawn on a 72 × 72 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It keeps its own colors in light and dark mode, so check it against both backgrounds. 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, with conditions: CC BY-SA 4.0 asks you to credit the author (OpenMoji), and icons you change must use the same license. The full terms are in the license, linked on this page.
Yes. CC BY-SA 4.0 asks you to credit OpenMoji, and icons you change must be shared under the same license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
3 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, logistics, commute and freight. 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.
OpenMoji draws many icons in several styles: Light next to the default. Open the library and pick a style above the grid to see Railway Car's siblings in it.
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