Rag icon
carbon:rag
The Rag icon (carbon:rag) is a free SVG icon from the Carbon set by IBM. It is drawn on a 32 × 32 grid. Carbon icons are released under the Apache 2.0 license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="M12 28h-2c-3.86 0-7-3.14-7-7v-2h2v2c0 2.757 2.243 5 5 5h2zm16-9h-9a2.003 2.003 0 0 0-2 2v5a2 2 0 0 0 2 2h3v-2h-3v-5h9v5h-2.535l-2.594 3.89L24.535 31l2-3H28a2 2 0 0 0 2-2v-5a2.003 2.003 0 0 0-2-2m1-4v-4c0-3.86-3.14-7-7-7h-3v2h3c2.757 0 5 2.243 5 5v4zM6 10h3v2H6z"/><path fill="currentColor" d="M12.606 6.436L10.081 2.75A2 2 0 0 0 8.519 2H4c-1.103 0-2 .898-2 2v10c0 1.103.897 2 2 2h7c1.103 0 2-.897 2-2V7.625c0-.453-.156-.896-.394-1.19M4 14V4h4v3a1 1 0 0 0 1 1h2v6z"/></svg>How to use the Rag icon
React
import { Icon } from "@iconify/react";
<Icon icon="carbon:rag" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="carbon:rag" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="carbon:rag" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[carbon--rag]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/carbon -->
<div class="i-carbon:rag"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="carbon:rag"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/carbon/rag.svg" alt="Rag icon" width="24" height="24">Rag icon FAQ
Is the Rag icon free for commercial use?
Yes. Carbon icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the Rag icon in React?
Install @iconify/react and render <Icon icon="carbon:rag" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Rag icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/carbon/rag.svg" alt="Rag icon">, or paste the SVG code inline to style it with CSS.