ICONYZ
English
Ruby 24 icon from Octicons

Ruby 24 icon

octicon:ruby-24

The Ruby 24 icon (octicon:ruby-24) is a free SVG icon from the Octicons set by GitHub. It is drawn on a 24 × 24 grid. Octicons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Octicons
Author
GitHub
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M5.873 3.26A.75.75 0 0 1 6.44 3h11.31c.223 0 .434.099.576.27l5 6a.75.75 0 0 1-.028.992l-10.75 11.5a.75.75 0 0 1-1.096 0l-10.75-11.5a.75.75 0 0 1-.02-1.003zm.91 1.24L2.258 9.73L12 20.153l9.75-10.43L17.399 4.5Z"/></svg>

How to use the Ruby 24 icon

React

import { Icon } from "@iconify/react";

<Icon icon="octicon:ruby-24" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="octicon:ruby-24" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="octicon:ruby-24" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[octicon--ruby-24]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/octicon -->
<div class="i-octicon:ruby-24"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="octicon:ruby-24"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/octicon/ruby-24.svg" alt="Ruby 24 icon" width="24" height="24">

Related icons in Octicons

Ruby 24 icon FAQ

Is the Ruby 24 icon free for commercial use?

Yes. Octicons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Ruby 24 icon in React?

Install @iconify/react and render <Icon icon="octicon:ruby-24" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Ruby 24 icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/octicon/ruby-24.svg" alt="Ruby 24 icon">, or paste the SVG code inline to style it with CSS.

Browse all Octicons →