Rails
The Rails icon represents the Ruby on Rails framework, a popular web application framework written in Ruby.
Exports at 24 × 24 px
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 128 128" {...props}>
<path fill="currentColor" fillRule="evenodd" d="M109.682 14.737c-12.206-6.023-24.708-6.636-37.508-2.111c-11.779 4.164-21.175 11.615-28.16 21.763C32.195 51.561 23.61 70.298 18.799 90.652c-2.464 10.417-4.06 21.466-3.631 32.224c.035.873.165 1.124.251 3.124h60.366c-.173-2-.287-1.416-.437-1.797a154 154 0 0 1-7.428-25.198c-2.498-12.251-3.806-24.729-1.226-37.093c3.611-17.313 13.48-29.805 30.117-36.283c9.424-3.667 18.369-2.624 26.214 4.262c.072.063.22.025.412.056l2.565-3.883c-4.94-4.703-10.368-8.389-16.32-11.327M3.336 94.394c-.46 3.923-.89 7.596-1.34 11.451l11.132 1.336l2.039-11.893zm21.85-34.186l-10.471-4.097l-3.384 9.607l10.671 3.42c1.08-3.031 2.096-5.882 3.184-8.93m49.419 53.659c3.575.266 7.157.449 11.103.679c-1.433-2.979-2.706-5.673-4.039-8.335c-.146-.289-.639-.568-.974-.573c-3.033-.044-6.068-.025-9.291-.025c.726 2.628 1.357 5.053 2.096 7.443c.111.361.707.782 1.105.811M42.933 31.103l-7.955-5.268l-6.359 7.105l8.178 5.496zm25.334 53.369c-.013.321.276.832.558.959c2.865 1.288 5.76 2.515 8.912 3.873c-.131-2.492-.219-4.575-.368-6.654c-.027-.374-.203-.912-.48-1.066c-2.631-1.456-5.299-2.847-8.216-4.395c-.159 2.665-.321 4.972-.406 7.283M65.91 12.3l-5.446-6.181l-7.499 3.898l5.455 6.644zm3.415 49.176c-.163.374.052 1.167.373 1.456c2.175 1.962 4.424 3.84 6.926 5.981c.573-2.4 1.113-4.539 1.571-6.693c.081-.383-.032-1.016-.298-1.23c-1.946-1.569-3.955-3.063-6.037-4.651c-.915 1.815-1.802 3.443-2.535 5.137m12.45-52.424c2.78.075 5.563.042 8.499.042c-.293-2.044-.433-3.593-.782-5.092c-.104-.446-.775-1.04-1.228-1.078c-2.787-.226-5.585-.313-8.651-.459c.409 2.063.721 3.881 1.162 5.668c.093.379.647.909 1 .919m3.385 35.675c.142-.266.178-.749.029-.981c-1.366-2.137-2.785-4.241-4.254-6.455l-4.76 4.372l6.582 7.294c.884-1.539 1.675-2.868 2.403-4.23M90.295 30.2l2.843 5.281c4.449-2.438 4.875-3.32 3.3-6.834zm21.287-16.273c1.851 1.142 3.806 2.115 5.792 3.185l1.33-2.07c-2.422-1.771-4.76-3.484-7.413-5.426c-.104 1.104-.259 1.875-.219 2.637c.032.581.129 1.44.51 1.674M109 30.646c2 .217 5 .424 7 .643v-2.718c-2-.438-5-.872-7-1.323z" clipRule="evenodd"/>
</svg>
);Other libraries
Rails in 2 more libraries
Each library draws it its own way. Open one to compare.
Devicon Plain
More like it
Icons that share its tags, in the same style.
Search Devicon Plain
Skip the copy and paste. With Pro, your AI agent finds and installs any Devicon Plain icon from a prompt.
Get ProTags
Browse by tag
Rails is tagged development, programming, web development and 2 more. Related tags follow; each opens its icons from every library.
Pricing
Devicon Plain MCP, with Pro
Ask for Rails or any of 772 Devicon Plain 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.
The Rails icon represents the Ruby on Rails framework, a popular web application framework written in Ruby. It is widely used for building web applications and is known for its simplicity, flexibility, and ease of use.
The Rails icon appears in various software and platforms related to web development, such as GitHub, Stack Overflow, and Ruby on Rails official website. It is often used as a symbol for web development, programming, and Ruby on Rails.
From a UX perspective, the Rails icon communicates a sense of web development, programming, and framework. It helps users understand that a particular tool or platform is related to web development and Ruby on Rails.
Rails is one of 772 icons in Devicon Plain, made by konpa and released under MIT. It is drawn on a 128 × 128 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 RailsIcon to components/icons/devicon-plain-rails.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 RailsIcon 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 Rails icon, or any of 772 Devicon Plain 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 128 × 128 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="Rails", so screen readers say what it does.
Yes. RailsIcon passes every SVG prop to the svg element, so <RailsIcon 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 Devicon Plain, konpa 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 Rails. 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 development, programming, web development, framework and Ruby. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Rails in another set.
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