Dice Two icon
fa-solid:dice-two
The Dice Two icon (fa-solid:dice-two) is a free SVG icon from the Font Awesome 5 Solid set by Dave Gandy. It is drawn on a 448 × 512 grid. Font Awesome 5 Solid icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Font Awesome 5 Solid
- Author
- Dave Gandy
- License
- CC-BY-4.0
- Size
- 448 × 512
- Category
- Games, Objects
- Tags
- dicetwo
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="448" height="512" viewBox="0 0 448 512"><path fill="currentColor" d="M384 32H64C28.65 32 0 60.65 0 96v320c0 35.35 28.65 64 64 64h320c35.35 0 64-28.65 64-64V96c0-35.35-28.65-64-64-64M128 192c-17.67 0-32-14.33-32-32s14.33-32 32-32s32 14.33 32 32s-14.33 32-32 32m192 192c-17.67 0-32-14.33-32-32s14.33-32 32-32s32 14.33 32 32s-14.33 32-32 32"/></svg>How to use the Dice Two icon
React
import { Icon } from "@iconify/react";
<Icon icon="fa-solid:dice-two" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fa-solid:dice-two" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fa-solid:dice-two" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fa-solid--dice-two]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fa-solid -->
<div class="i-fa-solid:dice-two"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fa-solid:dice-two"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fa-solid/dice-two.svg" alt="Dice Two icon" width="24" height="24">Related icons in Font Awesome 5 Solid
Dice Two icon in other icon sets
Dice Two icon FAQ
Is the Dice Two icon free for commercial use?
Yes. Font Awesome 5 Solid icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Dice Two icon in React?
Install @iconify/react and render <Icon icon="fa-solid:dice-two" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Dice Two icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/fa-solid/dice-two.svg" alt="Dice Two icon">, or paste the SVG code inline to style it with CSS.