ICONYZ
English
Treasure Chest icon from Material Design Icons

Treasure Chest icon

mdi:treasure-chest

The Treasure Chest icon (mdi:treasure-chest) is a free SVG icon from the Material Design Icons set by Pictogrammers. It is drawn on a 24 × 24 grid. Material Design Icons are released under the Apache 2.0 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
Material Design Icons
Author
Pictogrammers
License
Apache-2.0
Size
24 × 24
Category
Lock, Shopping, Gaming / RPG
Tags
jewelry box, jewel case, gaming, rpg, shopping, lock, treasurechest
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M5 4h14a3 3 0 0 1 3 3v4h-7v-1H9v1H2V7a3 3 0 0 1 3-3m6 7h2v2h-2zm-9 1h7v1l2 2h2l2-2v-1h7v8H2z"/></svg>

How to use the Treasure Chest icon

React

import { Icon } from "@iconify/react";

<Icon icon="mdi:treasure-chest" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="mdi:treasure-chest" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="mdi:treasure-chest" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[mdi--treasure-chest]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/mdi -->
<div class="i-mdi:treasure-chest"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="mdi:treasure-chest"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/mdi/treasure-chest.svg" alt="Treasure Chest icon" width="24" height="24">

Related icons in Material Design Icons

Treasure Chest icon in other icon sets

Treasure Chest icon FAQ

Is the Treasure Chest icon free for commercial use?

Yes. Material Design Icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Treasure Chest icon in React?

Install @iconify/react and render <Icon icon="mdi:treasure-chest" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Treasure Chest icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/mdi/treasure-chest.svg" alt="Treasure Chest icon">, or paste the SVG code inline to style it with CSS.

Browse all Material Design Icons →