Ruby icon
material-icon-theme:ruby
The Ruby icon (material-icon-theme:ruby) is a free SVG icon from the Material Icon Theme set by Material Extensions. It is drawn on a 24 × 24 grid. Material Icon Theme icons 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
- Material Icon Theme
- Author
- Material Extensions
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="#f44336" d="M18.041 3.177c2.24.382 2.879 1.919 2.843 3.527V6.67l-1.013 13.266l-13.132.897h.008c-1.093-.044-3.518-.151-3.634-3.545l1.217-2.222l2.462 5.74l2.097-6.77l-.045.009l.018-.018l6.85 2.186L13.945 9.3l6.53-.409l-5.144-4.212l2.71-1.51v.009M3.113 17.252v.017zM6.916 6.874c2.63-2.622 6.033-4.168 7.34-2.844c1.297 1.306-.072 4.523-2.702 7.135c-2.666 2.613-6.015 4.248-7.322 2.933c-1.306-1.324.036-4.612 2.675-7.224z"/></svg>How to use the Ruby icon
React
import { Icon } from "@iconify/react";
<Icon icon="material-icon-theme:ruby" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="material-icon-theme:ruby" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="material-icon-theme:ruby" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[material-icon-theme--ruby]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/material-icon-theme -->
<div class="i-material-icon-theme:ruby"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="material-icon-theme:ruby"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/material-icon-theme/ruby.svg" alt="Ruby icon" width="24" height="24">Ruby icon in other icon sets
Ruby icon FAQ
Is the Ruby icon free for commercial use?
Yes. Material Icon Theme icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Ruby icon in React?
Install @iconify/react and render <Icon icon="material-icon-theme:ruby" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Ruby icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/material-icon-theme/ruby.svg" alt="Ruby icon">, or paste the SVG code inline to style it with CSS.