Rail icons
33 icons ยท every library
- 33 designs, one style each
- From 11 libraries
- 64% under permissive licenses
- 35 icons in every style
Libraries
Rail icons in each library
How each set draws rail: railway track, tram and railway car and more. Open one to see only its icons.
- Lucide2 icons ยท ISC
- Simple Icons2 icons ยท CC0 1.0
- Material Design Icons11 icons ยท Apache 2.0
- Arcticons7 icons ยท CC BY-SA 4.0
- Google Material Icons2 icons ยท Apache 2.0
- Twitter Emoji2 icons ยท CC BY 4.0
- Fluent Emoji Flat2 icons ยท MIT
- Emoji One (Monotone)2 icons ยท CC BY 4.0
3 more libraries
Skip the browsing. With Pro, your AI agent finds the rail icon you describe in any library and installs it.
Get ProTags
Related tags
Tags the same icons carry, closest to rail first.
Pricing
Rail icons MCP, with Pro
Your agent finds the rail icon you describe in any of 11 libraries and installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates.
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
About rail icons: how many there are, which libraries draw them, and how to use and license them.
35 icons across 11 libraries carry the rail tag. Counting each design once (a set's outline and filled wallet are one design), that's 33, which is what the wall shows.
rail is a tag: a word for what an icon shows or is for. It is set from each icon's name, its keywords and what it shows, the same way for every library, so a rail icon from Lucide and one from Tabler land on this page even when the sets name them differently.
The designs most libraries draw for rail are railway track, tram and railway car. Search the wall to find a specific one.
The tags that most often share icons with rail are freight, train, railway, transit and transportation. They are listed on this page; open one to widen or narrow your search.
35 icons carry the tag but only 33 designs: many sets draw a design in several styles, like outline, filled and duotone, and each style is its own icon. The wall shows one icon per design for each library.
Material Design Icons has the most, 11 designs, then Arcticons (7) and Lucide (2). Among the popular sets: Lucide has 2 and Simple Icons has 2. Pick one above the wall to see only its icons.
11 libraries draw rail icons, each in its own style. The page shows the first ones as rows of how each set draws it, and a picker above the wall narrows it to one library, so you can see rail icons that match the rest of your project.
Lucide has 2 designs for rail, in the line style shadcn/ui ships with. Tabler and Phosphor, in a similar style, are the other sets to check in the picker above the wall.
Open a rail icon, then copy it as a typed React component or as SVG for Vue, Svelte, Angular or any design tool, or download it as SVG or PNG. Signed in, you can install it with one shadcn CLI command.
Open a rail icon, then Get icon, then Copy as code: React, Vue, Svelte, Angular, Solid or Preact. Each is one self-contained component with the SVG inside, so only the icons you import reach your bundle.
Open the icon, choose Get icon, then Install with shadcn CLI, and run the command. It adds one file to components/icons, ready to import. It needs a free account.
Yes. On an icon's page, Customize sets the color, size, stroke, rotation and padding, and every copy and download uses them. 3 libraries here are multicolor and keep their own colors.
Single-color icons are drawn in currentColor, so a Tailwind class recolors them: text-primary, text-muted-foreground or any theme token. Size one with size-5 or size-6.
With a visible label beside it, a rail icon is decoration: add aria-hidden="true". Alone, as in an icon button, name the button for what it does ("Pay", not "credit card") with aria-label. The installed component passes every SVG prop through.
Pair it with text when its meaning could be read two ways: icons for rail differ from set to set, and a label removes the doubt. Single-color icons use currentColor, so they follow your text color and keep its contrast in dark mode.
Most of them. Of the 33 rail designs: 21 are MIT, Apache 2.0, ISC, BSD, OFL or public domain, which allow commercial use with no credit. 5 are CC BY, which asks you to credit the author. 7 are share-alike or copyleft (CC BY-SA, GPL, MPL), so changes keep the license. Each icon's page names its license, so check it before you ship.
5 of the 33 rail designs are CC BY, which asks you to credit the author. 21 are MIT, Apache 2.0, ISC, BSD, OFL or public domain, which need no credit (most only ask you to keep the license notice if you ship their source files). Each icon's page names its license and author.
Yes. Every rail icon is free to browse, copy and download here. Pro adds the MCP server, which installs icons for your AI agent.
With Pro, the shadcn.io MCP server lets Claude Code, Cursor or any MCP client search every library and install the rail icon you describe.
Ask in plain words, like "a railway track icon". search_icons matches an icon's name, keywords and tags, so the rail tag helps it find them, and get_icon installs the one you pick. The tools are search_icons, get_icon and list_icon_libraries.
4.9 out of 5 from 150+ developers
Install any rail icon from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro