Dice 2 Solid icon
nrk:dice-2-solid
The Dice 2 Solid icon (nrk:dice-2-solid) is a free SVG icon from the NRK Core Icons set by Norsk rikskringkasting. It is drawn on a 24 × 24 grid. NRK Core 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
- NRK Core Icons
- Author
- Norsk rikskringkasting
- License
- CC-BY-4.0
- Size
- 24 × 24
- Tags
- dicesolid
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M22 2v20H2V2zm-4 14a2 2 0 1 0-.001 3.999A2 2 0 0 0 18 16M6 4a2 2 0 1 0-.001 3.999A2 2 0 0 0 6 4" clip-rule="evenodd"/></svg>How to use the Dice 2 Solid icon
React
import { Icon } from "@iconify/react";
<Icon icon="nrk:dice-2-solid" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="nrk:dice-2-solid" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="nrk:dice-2-solid" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[nrk--dice-2-solid]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/nrk -->
<div class="i-nrk:dice-2-solid"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="nrk:dice-2-solid"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/nrk/dice-2-solid.svg" alt="Dice 2 Solid icon" width="24" height="24">Related icons in NRK Core Icons
Dice 2 Solid icon in other icon sets
Dice 2 Solid icon FAQ
Is the Dice 2 Solid icon free for commercial use?
Yes. NRK Core 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 2 Solid icon in React?
Install @iconify/react and render <Icon icon="nrk:dice-2-solid" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Dice 2 Solid icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/nrk/dice-2-solid.svg" alt="Dice 2 Solid icon">, or paste the SVG code inline to style it with CSS.