Dice 4 icon
Download the Dice 4 icon as free SVG or PNG. Compare outline and filled styles. Copy React, Vue or Svelte code.
- dice
- die
- four
- number-4
- game
- board-game
- random
- roll
- gambling
- chance
Style
Size
Stroke
Filled icons have no stroke
Color
- Category
- games
- Styles
- Outline, filled
- Component
- IconDice4
- License
- MIT · Paweł Kuna
Code
Copy it the way you use it
dice-4.svg
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14" />
<path d="M8 8.5a.5 .5 0 1 0 1 0a.5 .5 0 1 0 -1 0" fill="currentColor" />
<path d="M15 8.5a.5 .5 0 1 0 1 0a.5 .5 0 1 0 -1 0" fill="currentColor" />
<path d="M15 15.5a.5 .5 0 1 0 1 0a.5 .5 0 1 0 -1 0" fill="currentColor" />
<path d="M8 15.5a.5 .5 0 1 0 1 0a.5 .5 0 1 0 -1 0" fill="currentColor" />
</svg> Use the Dice 4 icon
For a decorative icon beside text, add aria-hidden="true" to the SVG. For an icon-only control, put its accessible name on the button or link.
React example
import { IconDice4 } from '@tabler/icons-react';
<IconDice4 size={24} stroke={2} />Read the React guideVue example
import { IconDice4 } from '@tabler/icons-vue';
<IconDice4 :size="24" :stroke="2" />Read the Vue guideSvelte 5 example
import { IconDice4 } from '@tabler/icons-svelte-runes';
<IconDice4 size={24} stroke={2} />Read the Svelte guideRelated