Ruby
The Ruby icon represents the Ruby programming language.
Exports at 24 × 24 px
Code
Ruby in your framework
In any framework. Customize it above, and the code follows.
export const RubyIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 256 255" {...props}>
<defs><linearGradient id="SVGQHmzXc9I" x1="84.75%" x2="58.254%" y1="111.399%" y2="64.584%"><stop offset="0%" stopColor="#FB7655"/><stop offset="0%" stopColor="#FB7655"/><stop offset="41%" stopColor="#E42B1E"/><stop offset="99%" stopColor="#900"/><stop offset="100%" stopColor="#900"/></linearGradient><linearGradient id="SVGDyYhRbJB" x1="116.651%" x2="1.746%" y1="60.89%" y2="19.288%"><stop offset="0%" stopColor="#871101"/><stop offset="0%" stopColor="#871101"/><stop offset="99%" stopColor="#911209"/><stop offset="100%" stopColor="#911209"/></linearGradient><linearGradient id="SVGpKXMcABR" x1="75.774%" x2="38.978%" y1="219.327%" y2="7.829%"><stop offset="0%" stopColor="#871101"/><stop offset="0%" stopColor="#871101"/><stop offset="99%" stopColor="#911209"/><stop offset="100%" stopColor="#911209"/></linearGradient><linearGradient id="SVGZR3cd0GI" x1="50.012%" x2="66.483%" y1="7.234%" y2="79.135%"><stop offset="0%" stopColor="#FFF"/><stop offset="0%" stopColor="#FFF"/><stop offset="23%" stopColor="#E57252"/><stop offset="46%" stopColor="#DE3B20"/><stop offset="99%" stopColor="#A60003"/><stop offset="100%" stopColor="#A60003"/></linearGradient><linearGradient id="SVG0QnDdbqO" x1="46.174%" x2="49.932%" y1="16.348%" y2="83.047%"><stop offset="0%" stopColor="#FFF"/><stop offset="0%" stopColor="#FFF"/><stop offset="23%" stopColor="#E4714E"/><stop offset="56%" stopColor="#BE1A0D"/><stop offset="99%" stopColor="#A80D00"/><stop offset="100%" stopColor="#A80D00"/></linearGradient><linearGradient id="SVGeIYPKeJd" x1="36.965%" x2="49.528%" y1="15.594%" y2="92.478%"><stop offset="0%" stopColor="#FFF"/><stop offset="0%" stopColor="#FFF"/><stop offset="18%" stopColor="#E46342"/><stop offset="40%" stopColor="#C82410"/><stop offset="99%" stopColor="#A80D00"/><stop offset="100%" stopColor="#A80D00"/></linearGradient><linearGradient id="SVGyMgjDcrx" x1="13.609%" x2="85.764%" y1="58.346%" y2="-46.717%"><stop offset="0%" stopColor="#FFF"/><stop offset="0%" stopColor="#FFF"/><stop offset="54%" stopColor="#C81F11"/><stop offset="99%" stopColor="#BF0905"/><stop offset="100%" stopColor="#BF0905"/></linearGradient><linearGradient id="SVGVWt7keYm" x1="27.624%" x2="50.745%" y1="21.135%" y2="79.056%"><stop offset="0%" stopColor="#FFF"/><stop offset="0%" stopColor="#FFF"/><stop offset="31%" stopColor="#DE4024"/><stop offset="99%" stopColor="#BF190B"/><stop offset="100%" stopColor="#BF190B"/></linearGradient><linearGradient id="SVGHwk5wctO" x1="-20.667%" x2="104.242%" y1="122.282%" y2="-6.342%"><stop offset="0%" stopColor="#BD0012"/><stop offset="0%" stopColor="#BD0012"/><stop offset="7%" stopColor="#FFF"/><stop offset="17%" stopColor="#FFF"/><stop offset="27%" stopColor="#C82F1C"/><stop offset="33%" stopColor="#820C01"/><stop offset="46%" stopColor="#A31601"/><stop offset="72%" stopColor="#B31301"/><stop offset="99%" stopColor="#E82609"/><stop offset="100%" stopColor="#E82609"/></linearGradient><linearGradient id="SVGIJ2zdbyR" x1="58.792%" x2="11.964%" y1="65.205%" y2="50.128%"><stop offset="0%" stopColor="#8C0C01"/><stop offset="0%" stopColor="#8C0C01"/><stop offset="54%" stopColor="#990C00"/><stop offset="99%" stopColor="#A80D0E"/><stop offset="100%" stopColor="#A80D0E"/></linearGradient><linearGradient id="SVGg6zbVabQ" x1="79.319%" x2="23.088%" y1="62.754%" y2="17.888%"><stop offset="0%" stopColor="#7E110B"/><stop offset="0%" stopColor="#7E110B"/><stop offset="99%" stopColor="#9E0C00"/><stop offset="100%" stopColor="#9E0C00"/></linearGradient><linearGradient id="SVGVYL4lbus" x1="92.88%" x2="59.841%" y1="74.122%" y2="39.704%"><stop offset="0%" stopColor="#79130D"/><stop offset="0%" stopColor="#79130D"/><stop offset="99%" stopColor="#9E120B"/><stop offset="100%" stopColor="#9E120B"/></linearGradient><linearGradient id="SVGPwZglh2l" x1="56.57%" x2="3.105%" y1="101.717%" y2="11.993%"><stop offset="0%" stopColor="#8B2114"/><stop offset="0%" stopColor="#8B2114"/><stop offset="43%" stopColor="#9E100A"/><stop offset="99%" stopColor="#B3100C"/><stop offset="100%" stopColor="#B3100C"/></linearGradient><linearGradient id="SVGJ2xY1b5y" x1="30.87%" x2="92.471%" y1="35.599%" y2="100.694%"><stop offset="0%" stopColor="#B31000"/><stop offset="0%" stopColor="#B31000"/><stop offset="44%" stopColor="#910F08"/><stop offset="99%" stopColor="#791C12"/><stop offset="100%" stopColor="#791C12"/></linearGradient><radialGradient id="SVGgLeY8bUC" cx="32.001%" cy="40.21%" r="69.573%" fx="32.001%" fy="40.21%"><stop offset="0%" stopColor="#A80D00"/><stop offset="0%" stopColor="#A80D00"/><stop offset="99%" stopColor="#7E0E08"/><stop offset="100%" stopColor="#7E0E08"/></radialGradient><radialGradient id="SVGQn5iweRY" cx="13.549%" cy="40.86%" r="88.386%" fx="13.549%" fy="40.86%"><stop offset="0%" stopColor="#A30C00"/><stop offset="0%" stopColor="#A30C00"/><stop offset="99%" stopColor="#800E08"/><stop offset="100%" stopColor="#800E08"/></radialGradient></defs><path fill="url(#SVGQHmzXc9I)" d="m197.467 167.764l-145.52 86.41l188.422-12.787L254.88 51.393z"/><path fill="url(#SVGDyYhRbJB)" d="M240.677 241.257L224.482 129.48l-44.113 58.25z"/><path fill="url(#SVGpKXMcABR)" d="m240.896 241.257l-118.646-9.313l-69.674 21.986z"/><path fill="url(#SVGZR3cd0GI)" d="m52.744 253.955l29.64-97.1L17.16 170.8z"/><path fill="url(#SVG0QnDdbqO)" d="M180.358 188.05L153.085 81.226l-78.047 73.16z"/><path fill="url(#SVGeIYPKeJd)" d="m248.693 82.73l-73.777-60.256l-20.544 66.418z"/><path fill="url(#SVGyMgjDcrx)" d="M214.191.99L170.8 24.97L143.424.669z"/><path fill="url(#SVGVWt7keYm)" d="m0 203.372l18.177-33.151l-14.704-39.494z"/><path fill="#FFF" d="m2.496 129.48l14.794 41.963l64.283-14.422l73.39-68.207l20.712-65.787L143.063 0L87.618 20.75c-17.469 16.248-51.366 48.396-52.588 49c-1.21.618-22.384 40.639-32.534 59.73"/><path fill="url(#SVGHwk5wctO)" d="M54.442 54.094c37.86-37.538 86.667-59.716 105.397-40.818c18.72 18.898-1.132 64.823-38.992 102.349c-37.86 37.525-86.062 60.925-104.78 42.027c-18.73-18.885.515-66.032 38.375-103.558"/><path fill="url(#SVGIJ2zdbyR)" d="m52.744 253.916l29.408-97.409l97.665 31.376c-35.312 33.113-74.587 61.106-127.073 66.033"/><path fill="url(#SVGg6zbVabQ)" d="m155.092 88.622l25.073 99.313c29.498-31.016 55.972-64.36 68.938-105.603z"/><path fill="url(#SVGVYL4lbus)" d="M248.847 82.833c10.035-30.282 12.35-73.725-34.966-81.791l-38.825 21.445z"/><path fill="#9E1209" d="M0 202.935c1.39 49.979 37.448 50.724 52.808 51.162l-35.48-82.86z"/><path fill="url(#SVGgLeY8bUC)" d="M155.232 88.777c22.667 13.932 68.35 41.912 69.276 42.426c1.44.81 19.695-30.784 23.838-48.64z"/><path fill="url(#SVGQn5iweRY)" d="m82.113 156.507l39.313 75.848c23.246-12.607 41.45-27.967 58.121-44.42z"/><path fill="url(#SVGPwZglh2l)" d="m17.174 171.34l-5.57 66.328c10.51 14.357 24.97 15.605 40.136 14.486c-10.973-27.311-32.894-81.92-34.566-80.814"/><path fill="url(#SVGJ2xY1b5y)" d="m174.826 22.654l78.1 10.96c-4.169-17.662-16.969-29.06-38.787-32.623z"/>
</svg>
);Other libraries
Ruby in 8 more libraries
Each library draws it its own way. Open one to compare.
SVG Logos
More like it
Icons that share its tags, in the same style.
Search SVG Logos
Skip the copy and paste. With Pro, your AI agent finds and installs any SVG Logos icon from a prompt.
Get ProTags
Browse by tag
Ruby is tagged web development, programming language and scripting-language. Related tags follow; each opens its icons from every library.
Pricing
SVG Logos MCP, with Pro
Ask for Ruby or any of 2,063 SVG Logos 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 Ruby icon means and where it's used, then how to install, style, label and license it.
The Ruby icon represents the Ruby programming language. Ruby is a popular dynamic and object-oriented programming language used for web development, scripting, and system administration. It is known for its simplicity, readability, and ease of use.
Ruby is widely used in web development, particularly in the Ruby on Rails ecosystem. It integrates with various frameworks and tools, such as RubyMine and GitHub. Developers use Ruby to build scalable and efficient web applications, making it a popular choice for backend development.
The Ruby icon communicates the availability of Ruby programming language features. When users see the Ruby icon, they understand that the application or platform they are using provides robust Ruby support and development capabilities. This helps to build trust and confidence in the application's performance and scalability.
Ruby is one of 2,063 icons in SVG Logos, made by Gil Barbara and released under CC0. It is drawn on a 256 × 255 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 RubyIcon to components/icons/logos-ruby.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 RubyIcon 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 Ruby icon, or any of 2,063 SVG Logos 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 256 × 255 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="Ruby", so screen readers say what it does.
Yes. RubyIcon passes every SVG prop to the svg element, so <RubyIcon 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.
CC0 puts the icons in the public domain: use them anywhere, with no conditions. The full terms are in the license, linked on this page.
No. CC0 gives the icons to the public domain, so no credit and no notice is required. Icons installed with the shadcn CLI still start with a comment naming SVG Logos, Gil Barbara and the license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
8 other libraries draw an icon called Ruby. 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 web development, programming language and scripting-language. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Ruby in another set.
4.9 out of 5 from 150+ developers
Install Ruby from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro