Skip to content

Rails

The rails icon represents railroad tracks or a train route.

Exports at 24 × 24 px

Rails icon from Fontisto
Get Pro

Code

Rails in your framework

In any framework. Customize it above, and the code follows.

export const RailsIcon = (props: React.SVGProps<SVGSVGElement>) => (
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" {...props}>
    <path fill="currentColor" d="M20.89 14.987v1.164h1.982A1.166 1.166 0 0 0 24 14.987l-.001-.038v.002v-.45l.001-.047c0-.628-.502-1.139-1.127-1.153h-.989v-.54h1.958v-1.162h-1.879a1.19 1.19 0 0 0-1.136 1.187v.03v-.001v.405l-.001.035c0 .633.504 1.148 1.133 1.165h.002c1.36.006-.327 0 .934 0v.566l-2.006.006zm-10.623-.283s1.061-.097 1.061-1.55a1.493 1.493 0 0 0-1.277-1.587l-.008-.001H7.729v4.585h1.164v-1.106l1.006 1.106h1.722zm-.449-.939h-.926v-1.048h.934a.52.52 0 0 1 .26.524v-.003a.53.53 0 0 1-.264.526l-.003.001zm4.384-2.167h-1.18a1.177 1.177 0 0 0-1.127 1.176v.025v-.001v3.36h1.182v-.8h1.11v.8h1.144v-3.36a1.147 1.147 0 0 0-1.127-1.199h-.001zm-.015 2.45h-1.12v-1.114s0-.25.37-.25h.406c.327 0 .334.25.334.25v1.113zm1.68-2.45h1.23v4.553h-1.23zm2.96 3.376v-3.376h-1.223v4.553h2.88v-1.177z"/><path fill="currentColor" d="M.424 16.151h4.79s-.915-4.43 2.116-6.225c.661-.341 2.764-1.614 6.208 1.086c.109-.097.212-.174.212-.174s-3.153-3.337-6.663-2.964c-1.764.167-3.934 1.871-5.207 4.122a11.4 11.4 0 0 0-1.447 4.09l-.008.064z"/><path fill="currentColor" d="M.424 16.15h4.79s-.915-4.43 2.116-6.225c.661-.341 2.764-1.614 6.208 1.086c.109-.097.212-.174.212-.174s-3.153-3.336-6.663-2.963c-1.77.167-3.94 1.871-5.214 4.122a11.3 11.3 0 0 0-1.441 4.091zm9.981-7.915l.024-.431a2.7 2.7 0 0 0-.568-.22l-.02-.005l-.024.424q.299.106.588.231z"/><path fill="currentColor" d="m9.826 9.598l-.024.405q.325.013.622.084l-.022-.004l.024-.4a4 4 0 0 0-.588-.084zM7.584 7.592h.061L7.52 7.2q-.308 0-.605.041l.023-.003l.115.379c.149-.016.322-.026.498-.026h.035zm.291 2.366l.139.444c.146-.079.321-.155.501-.217l.026-.008l-.134-.424a4 4 0 0 0-.559.217l.026-.011zM5.12 8.267l-.273-.444q-.227.121-.473.277l.279.45c.16-.103.311-.2.466-.283zm1.242 2.894l.291.463c.113-.171.231-.32.36-.459l-.002.002l-.273-.438a3.4 3.4 0 0 0-.369.422zm-.88 2.07l.491.411c.028-.284.073-.54.135-.789l-.008.037l-.437-.366a6 6 0 0 0-.175.666l-.007.041zm-2.651-3.054L2.4 9.779q-.24.24-.449.48l.466.424c.139-.19.274-.355.417-.514l-.005.006zM1 13.051l-.697-.272c-.115.277-.24.598-.303.772l.697.27c.079-.218.206-.533.303-.77m4.395 1.814c.009.295.035.575.078.849l-.005-.039l.727.277a9 9 0 0 1-.146-.836z"/>
  </svg>
);

Other libraries

Rails in 2 more libraries

Each library draws it its own way. Open one to compare.

Fontisto

Icons that share its tags, in the same style.

  • Car icon from Fontisto
  • Plane icon from Fontisto
  • Train icon from Fontisto
  • Train Ticket icon from Fontisto
  • Bus icon from Fontisto
  • Metro icon from Fontisto
  • Motorcycle icon from Fontisto
  • Plane Ticket icon from Fontisto
  • Ship icon from Fontisto
  • Subway icon from Fontisto
  • Truck icon from Fontisto
  • Uber icon from Fontisto
  • Ambulance icon from Fontisto
  • Automobile icon from Fontisto
  • Bicycle icon from Fontisto
  • Bus Ticket icon from Fontisto
  • Helicopter icon from Fontisto
  • Propeller  1 icon from Fontisto
  • Propeller  2 icon from Fontisto
  • Propeller  3 icon from Fontisto
  • Swift icon from Fontisto
  • Taxi icon from Fontisto
  • Wheelchair icon from Fontisto
  • Aws icon from Fontisto

Skip the copy and paste. With Pro, your AI agent finds and installs any Fontisto icon from a prompt.

Get Pro

Pricing

Fontisto MCP, with Pro

Ask for Rails or any of 615 Fontisto 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 Rails icon means and where it's used, then how to install, style, label and license it.

4.9 out of 5 from 150+ developers

Install Rails from a prompt

MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.

Get Pro