Dice icon
glyphs:dice
The Dice icon (glyphs:dice) is a free SVG icon from the Glyphs set by Goran Spasojevic. It is drawn on a 80 × 80 grid. Glyphs 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
- Glyphs
- Author
- Goran Spasojevic
- License
- MIT
- Size
- 80 × 80
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M12.657 39.284a8 8 0 0 1 0-11.314L23.97 16.657a8 8 0 0 1 11.314 0L46.598 27.97a8 8 0 0 1 0 11.314L35.284 50.598a8 8 0 0 1-11.314 0z"/><path d="M16.428 34.57a2.667 2.667 0 1 1 3.771-3.77a2.667 2.667 0 0 1-3.771 3.77M26.8 24.2a2.667 2.667 0 1 1 3.77-3.772a2.667 2.667 0 0 1-3.77 3.771m1.884 22.628a2.667 2.667 0 1 1 3.772-3.771a2.667 2.667 0 0 1-3.772 3.77m10.372-10.37a2.667 2.667 0 1 1 3.77-3.772a2.667 2.667 0 0 1-3.77 3.772m-1.56 11.931l-1.394 5.2a8 8 0 0 0 5.657 9.798l15.455 4.14a8 8 0 0 0 9.798-5.656l4.14-15.455a8 8 0 0 0-5.656-9.798l-15.455-4.141a8 8 0 0 0-1.22-.228"/><path d="M60.378 42.836a2.667 2.667 0 1 1 5.152 1.38a2.667 2.667 0 0 1-5.152-1.38M41.725 55.783a2.667 2.667 0 1 1 5.152 1.38a2.667 2.667 0 0 1-5.152-1.38"/></g></svg>How to use the Dice icon
React
import { Icon } from "@iconify/react";
<Icon icon="glyphs:dice" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="glyphs:dice" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="glyphs:dice" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[glyphs--dice]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/glyphs -->
<div class="i-glyphs:dice"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="glyphs:dice"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/glyphs/dice.svg" alt="Dice icon" width="24" height="24">Related icons in Glyphs
Dice icon in other icon sets
Dice icon FAQ
Is the Dice icon free for commercial use?
Yes. Glyphs icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Dice icon in React?
Install @iconify/react and render <Icon icon="glyphs:dice" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Dice icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/glyphs/dice.svg" alt="Dice icon">, or paste the SVG code inline to style it with CSS.