ICONYZ
English
Gem icon from Bootstrap Icons

Gem icon

bi:gem

The Gem icon (bi:gem) is a free SVG icon from the Bootstrap Icons set by The Bootstrap Authors. It is drawn on a 24 × 24 grid. Bootstrap 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
Bootstrap Icons
Author
The Bootstrap Authors
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="M3.1.7a.5.5 0 0 1 .4-.2h9a.5.5 0 0 1 .4.2l2.976 3.974c.149.185.156.45.01.644L8.4 15.3a.5.5 0 0 1-.8 0L.1 5.3a.5.5 0 0 1 0-.6zm11.386 3.785l-1.806-2.41l-.776 2.413zm-3.633.004l.961-2.989H4.186l.963 2.995zM5.47 5.495L8 13.366l2.532-7.876zm-1.371-.999l-.78-2.422l-1.818 2.425zM1.499 5.5l5.113 6.817l-2.192-6.82zm7.889 6.817l5.123-6.83l-2.928.002z"/></svg>

How to use the Gem icon

React

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

<Icon icon="bi:gem" width="24" />

Vue

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

<template>
  <Icon icon="bi:gem" width="24" />
</template>

Svelte

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

<Icon icon="bi:gem" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[bi--gem]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/bi -->
<div class="i-bi:gem"></div>

Web component

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

<iconify-icon icon="bi:gem"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/bi/gem.svg" alt="Gem icon" width="24" height="24">

Gem icon in other icon sets

Gem icon FAQ

Is the Gem icon free for commercial use?

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

How do I use the Gem icon in React?

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

How do I add the Gem icon to a web page?

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

Browse all Bootstrap Icons →