dice from Huge Icons by Hugeicons · Stroke · MIT Free for personal and commercial use.

Name
dice
Set
Huge Icons
Style
Stroke
Viewbox
24×24
License
MIT

The same icon in other sets

Related icons in Huge Icons

Use the dice icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5"><path d="M9.414 13.586C8.828 13 7.886 13 6 13s-2.828 0-3.414.586m6.828 0C10 14.172 10 15.114 10 17s0 2.828-.586 3.414m0-6.828Zm-6.828 0C2 14.172 2 15.114 2 17s0 2.828.586 3.414m0-6.828Zm0 6.828C3.172 21 4.114 21 6 21s2.828 0 3.414-.586m-6.828 0Zm6.828 0Zm5.808-15.136C16.74 6.797 17.5 7.556 17.5 8.5s-.76 1.703-2.278 3.222S12.944 14 12 14s-1.703-.76-3.222-2.278S6.5 9.444 6.5 8.5s.76-1.703 2.278-3.222S11.056 3 12 3s1.703.76 3.222 2.278Zm6.192 8.308C20.828 13 19.886 13 18 13s-2.828 0-3.414.586m6.828 0C22 14.172 22 15.114 22 17s0 2.828-.586 3.414m0-6.828Zm-6.828 0C14 14.172 14 15.114 14 17s0 2.828.586 3.414m0-6.828Zm0 6.828C15.172 21 16.114 21 18 21s2.828 0 3.414-.586m-6.828 0Zm6.828 0Z"/><path stroke-linecap="round" d="M12.125 8.5H12m.25 0a.25.25 0 1 1-.5 0a.25.25 0 0 1 .5 0Z"/></g></svg>

React

import type { SVGProps } from "react";

export function HugeiconsDice(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" strokeWidth="1.5"><path d="M9.414 13.586C8.828 13 7.886 13 6 13s-2.828 0-3.414.586m6.828 0C10 14.172 10 15.114 10 17s0 2.828-.586 3.414m0-6.828Zm-6.828 0C2 14.172 2 15.114 2 17s0 2.828.586 3.414m0-6.828Zm0 6.828C3.172 21 4.114 21 6 21s2.828 0 3.414-.586m-6.828 0Zm6.828 0Zm5.808-15.136C16.74 6.797 17.5 7.556 17.5 8.5s-.76 1.703-2.278 3.222S12.944 14 12 14s-1.703-.76-3.222-2.278S6.5 9.444 6.5 8.5s.76-1.703 2.278-3.222S11.056 3 12 3s1.703.76 3.222 2.278Zm6.192 8.308C20.828 13 19.886 13 18 13s-2.828 0-3.414.586m6.828 0C22 14.172 22 15.114 22 17s0 2.828-.586 3.414m0-6.828Zm-6.828 0C14 14.172 14 15.114 14 17s0 2.828.586 3.414m0-6.828Zm0 6.828C15.172 21 16.114 21 18 21s2.828 0 3.414-.586m-6.828 0Zm6.828 0Z"/><path strokeLinecap="round" d="M12.125 8.5H12m.25 0a.25.25 0 1 1-.5 0a.25.25 0 0 1 .5 0Z"/></g></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5"><path d="M9.414 13.586C8.828 13 7.886 13 6 13s-2.828 0-3.414.586m6.828 0C10 14.172 10 15.114 10 17s0 2.828-.586 3.414m0-6.828Zm-6.828 0C2 14.172 2 15.114 2 17s0 2.828.586 3.414m0-6.828Zm0 6.828C3.172 21 4.114 21 6 21s2.828 0 3.414-.586m-6.828 0Zm6.828 0Zm5.808-15.136C16.74 6.797 17.5 7.556 17.5 8.5s-.76 1.703-2.278 3.222S12.944 14 12 14s-1.703-.76-3.222-2.278S6.5 9.444 6.5 8.5s.76-1.703 2.278-3.222S11.056 3 12 3s1.703.76 3.222 2.278Zm6.192 8.308C20.828 13 19.886 13 18 13s-2.828 0-3.414.586m6.828 0C22 14.172 22 15.114 22 17s0 2.828-.586 3.414m0-6.828Zm-6.828 0C14 14.172 14 15.114 14 17s0 2.828.586 3.414m0-6.828Zm0 6.828C15.172 21 16.114 21 18 21s2.828 0 3.414-.586m-6.828 0Zm6.828 0Z"/><path stroke-linecap="round" d="M12.125 8.5H12m.25 0a.25.25 0 1 1-.5 0a.25.25 0 0 1 .5 0Z"/></g></svg>
</template>

CSS

.icon-dice {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.5%22%3E%3Cpath%20d%3D%22M9.414%2013.586C8.828%2013%207.886%2013%206%2013s-2.828%200-3.414.586m6.828%200C10%2014.172%2010%2015.114%2010%2017s0%202.828-.586%203.414m0-6.828Zm-6.828%200C2%2014.172%202%2015.114%202%2017s0%202.828.586%203.414m0-6.828Zm0%206.828C3.172%2021%204.114%2021%206%2021s2.828%200%203.414-.586m-6.828%200Zm6.828%200Zm5.808-15.136C16.74%206.797%2017.5%207.556%2017.5%208.5s-.76%201.703-2.278%203.222S12.944%2014%2012%2014s-1.703-.76-3.222-2.278S6.5%209.444%206.5%208.5s.76-1.703%202.278-3.222S11.056%203%2012%203s1.703.76%203.222%202.278Zm6.192%208.308C20.828%2013%2019.886%2013%2018%2013s-2.828%200-3.414.586m6.828%200C22%2014.172%2022%2015.114%2022%2017s0%202.828-.586%203.414m0-6.828Zm-6.828%200C14%2014.172%2014%2015.114%2014%2017s0%202.828.586%203.414m0-6.828Zm0%206.828C15.172%2021%2016.114%2021%2018%2021s2.828%200%203.414-.586m-6.828%200Zm6.828%200Z%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20d%3D%22M12.125%208.5H12m.25%200a.25.25%200%201%201-.5%200a.25.25%200%200%201%20.5%200Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.5%22%3E%3Cpath%20d%3D%22M9.414%2013.586C8.828%2013%207.886%2013%206%2013s-2.828%200-3.414.586m6.828%200C10%2014.172%2010%2015.114%2010%2017s0%202.828-.586%203.414m0-6.828Zm-6.828%200C2%2014.172%202%2015.114%202%2017s0%202.828.586%203.414m0-6.828Zm0%206.828C3.172%2021%204.114%2021%206%2021s2.828%200%203.414-.586m-6.828%200Zm6.828%200Zm5.808-15.136C16.74%206.797%2017.5%207.556%2017.5%208.5s-.76%201.703-2.278%203.222S12.944%2014%2012%2014s-1.703-.76-3.222-2.278S6.5%209.444%206.5%208.5s.76-1.703%202.278-3.222S11.056%203%2012%203s1.703.76%203.222%202.278Zm6.192%208.308C20.828%2013%2019.886%2013%2018%2013s-2.828%200-3.414.586m6.828%200C22%2014.172%2022%2015.114%2022%2017s0%202.828-.586%203.414m0-6.828Zm-6.828%200C14%2014.172%2014%2015.114%2014%2017s0%202.828.586%203.414m0-6.828Zm0%206.828C15.172%2021%2016.114%2021%2018%2021s2.828%200%203.414-.586m-6.828%200Zm6.828%200Z%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20d%3D%22M12.125%208.5H12m.25%200a.25.25%200%201%201-.5%200a.25.25%200%200%201%20.5%200Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/hugeicons/dice.svg?color=%231a73e8&size=48