Train Station
The train station icon represents a railway transportation hub.
Exports at 24 × 24 px
Code
Train Station in your framework
In any framework. Customize it above, and the code follows.
export const TrainStationIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 50 50" {...props}>
<path fill="currentColor" d="m34.641 37.807l-.113-.216l.057-.081l.057-.081a13.4 13.4 0 0 0 2.861-1.604q1.28-.958 1.721-2.809l.215-.988V6.507c0-.616-.184-1.255-.547-1.905a7.3 7.3 0 0 0-1.365-1.777a7.8 7.8 0 0 0-1.824-1.311Q34.691.999 33.764 1H15.499q-.875-.002-1.885.487a7.8 7.8 0 0 0-1.854 1.257a7 7 0 0 0-1.39 1.713c-.364.645-.547 1.267-.547 1.89v25.901c0 .436.115.891.327 1.363q.33.71.818 1.331c.326.426.685.807 1.067 1.15s.753.627 1.118.844c.176.074.499.188.957.333q.674.216.624.321L7.258 48.936h4.361l5.457-7.909h15.055l5.451 7.909H42zM20.294 3.179c0-.183.087-.37.273-.575q.268-.297.545-.295h6.982c.07 0 .221.07.438.213q.323.219.324.436V5.63c0 .183-.092.351-.271.49c-.184.15-.35.226-.49.226H21.06l-.222-.173a2 2 0 0 1-.353-.301a.55.55 0 0 1-.191-.401zm-7.037 7.472c0-.363.086-.719.247-1.066c.162-.345.373-.66.627-.955c.256-.292.556-.521.898-.704a2.26 2.26 0 0 1 1.068-.274H33.06c.322 0 .65.076.977.214c.328.146.627.35.902.602c.274.252.489.532.655.822c.162.284.242.596.242.923v5.783c0 .328-.088.638-.27.95a3 3 0 0 1-.709.827a4 4 0 0 1-.928.564a2.25 2.25 0 0 1-.979.22H16.206l-.276-.049a1.7 1.7 0 0 1-.329-.113q-.922-.16-1.633-.982q-.711-.818-.711-1.797zm5.049 22.526c-.563.581-1.268.871-2.1.871q-1.255 0-2.05-.871c-.526-.58-.789-1.294-.789-2.131q0-1.144.821-1.986q.816-.85 2.018-.851c.832 0 1.536.27 2.1.789c.564.533.845 1.226.845 2.105q0 1.203-.845 2.074m12.489 0c-.562-.58-.848-1.294-.848-2.131c0-.838.299-1.515.9-2.048a3.12 3.12 0 0 1 2.104-.789c.83 0 1.516.285 2.043.851c.525.562.793 1.224.793 1.986c0 .837-.275 1.551-.82 2.131c-.549.581-1.236.871-2.076.871q-1.252 0-2.096-.871"/>
</svg>
);Map Icons
More like it
Icons that share its tags, in the same style.
Search Map Icons
Skip the copy and paste. With Pro, your AI agent finds and installs any Map Icons icon from a prompt.
Get ProTags
Browse by tag
Train Station is tagged transportation, travel, infrastructure and 3 more. Related tags follow; each opens its icons from every library.
Pricing
Map Icons MCP, with Pro
Ask for Train Station or any of 167 Map Icons 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 Station icon means and where it's used, then how to install, style, label and license it.
The train station icon represents a railway transportation hub.
It is commonly used in applications related to travel, transportation, and urban planning.
The train station icon communicates a connection to public transportation and helps users navigate to train schedules and stations.
Train Station is one of 167 icons in Map Icons, made by Scott de Jonge and released under Open Font License. It is drawn on a 50 × 50 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 TrainStationIcon to components/icons/map-train-station.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 TrainStationIcon 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 Station icon, or any of 167 Map Icons 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 50 × 50 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 Station", so screen readers say what it does.
Yes. TrainStationIcon passes every SVG prop to the svg element, so <TrainStationIcon 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. The Open Font License allows commercial use; the icons can't be sold on their own. The full terms are in the license, linked on this page.
No visible credit is required: Open Font License 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 Map Icons, Scott de Jonge and the license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
Its tags are transportation, travel, infrastructure, public, 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 Train Station in another set.
4.9 out of 5 from 150+ developers
Install Train Station from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro