Treasure Chest Duotone icon
ph:treasure-chest-duotone
The Treasure Chest Duotone icon (ph:treasure-chest-duotone) is a free SVG icon from the Phosphor set by Phosphor Icons. It is drawn on a 256 × 256 grid. Phosphor 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
- Phosphor
- Author
- Phosphor Icons
- License
- MIT
- Size
- 256 × 256
- Tags
- loot, lootbox, inventory, rewards, gaming, pirate, treasurechest, chestduotone, treasurechestduotone
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256"><g fill="currentColor"><path d="M232 112v80a8 8 0 0 1-8 8H32a8 8 0 0 1-8-8v-80h88v32h32v-32Z" opacity=".2"/><path d="M184 40H72a56.06 56.06 0 0 0-56 56v96a16 16 0 0 0 16 16h192a16 16 0 0 0 16-16V96a56.06 56.06 0 0 0-56-56m40 56v8h-32V56.8A40.07 40.07 0 0 1 224 96m-88 40h-16v-32h16Zm-24 16h32a8 8 0 0 0 8-8v-24h24v72H80v-72h24v24a8 8 0 0 0 8 8m40-48v-8a8 8 0 0 0-8-8h-32a8 8 0 0 0-8 8v8H80V56h96v48ZM64 56.8V104H32v-8a40.07 40.07 0 0 1 32-39.2M32 120h32v72H32Zm192 72h-32v-72h32z"/></g></svg>How to use the Treasure Chest Duotone icon
React
import { Icon } from "@iconify/react";
<Icon icon="ph:treasure-chest-duotone" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ph:treasure-chest-duotone" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ph:treasure-chest-duotone" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ph--treasure-chest-duotone]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ph -->
<div class="i-ph:treasure-chest-duotone"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ph:treasure-chest-duotone"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ph/treasure-chest-duotone.svg" alt="Treasure Chest Duotone icon" width="24" height="24">Related icons in Phosphor
Treasure Chest Duotone icon FAQ
Is the Treasure Chest Duotone icon free for commercial use?
Yes. Phosphor icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Treasure Chest Duotone icon in React?
Install @iconify/react and render <Icon icon="ph:treasure-chest-duotone" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Treasure Chest Duotone icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/ph/treasure-chest-duotone.svg" alt="Treasure Chest Duotone icon">, or paste the SVG code inline to style it with CSS.