ICONYZ
English
Dices icon from Huge Icons

Dices icon

hugeicons:dices

The Dices icon (hugeicons:dices) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge 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
Huge Icons
Author
Hugeicons
License
MIT
Size
24 × 24
Tags
dice
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"><path d="M9 9H8c-2.828 0-4.243 0-5.121.879C2 10.757 2 12.172 2 15v1c0 2.828 0 4.243.879 5.121C3.757 22 5.172 22 8 22h1c2.828 0 4.243 0 5.121-.879C15 20.243 15 18.828 15 16v-1c0-2.828 0-4.243-.879-5.121C13.243 9 11.828 9 9 9"/><path d="M18 14.983c1.554-.047 2.48-.22 3.122-.862C22 13.243 22 11.828 22 9V8c0-2.828 0-4.243-.878-5.121C20.242 2 18.829 2 16 2h-1c-2.828 0-4.242 0-5.121.879c-.641.641-.815 1.568-.861 3.121M6.5 13.25v.25m.5 0a.5.5 0 1 1-1 0a.5.5 0 0 1 1 0"/><path d="M13 5.75V6m.5 0a.5.5 0 1 1-1 0a.5.5 0 0 1 1 0m4.5-.25V6m.5 0a.5.5 0 1 1-1 0a.5.5 0 0 1 1 0m-.5 4.75V11m.5 0a.5.5 0 1 1-1 0a.5.5 0 0 1 1 0m-8 6.25v.25m.5 0a.5.5 0 1 1-1 0a.5.5 0 0 1 1 0"/></g></svg>

How to use the Dices icon

React

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

<Icon icon="hugeicons:dices" width="24" />

Vue

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

<template>
  <Icon icon="hugeicons:dices" width="24" />
</template>

Svelte

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

<Icon icon="hugeicons:dices" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="hugeicons:dices"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/hugeicons/dices.svg" alt="Dices icon" width="24" height="24">

Dices icon in other icon sets

Dices icon FAQ

Is the Dices icon free for commercial use?

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

How do I use the Dices icon in React?

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

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

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

Browse all Huge Icons →