Treasure Chest icon
streamline-flex:treasure-chest
The Treasure Chest icon (streamline-flex:treasure-chest) is a free SVG icon from the Flex free icons set by Streamline. It is drawn on a 14 × 14 grid. Flex free 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
- Flex free icons
- Author
- Streamline
- License
- CC-BY-4.0
- Size
- 14 × 14
- Category
- MoneyShopping
- Tags
- treasurechest
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M1 3.763v7.24a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-7.25a1.97 1.97 0 0 0-1.201-1.813a12.35 12.35 0 0 0-9.582-.003A1.99 1.99 0 0 0 1 3.763m0 2.739h12m-9 0v6.5m3-7.5v2m3-1v6.5"/></svg>How to use the Treasure Chest icon
React
import { Icon } from "@iconify/react";
<Icon icon="streamline-flex:treasure-chest" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="streamline-flex:treasure-chest" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="streamline-flex:treasure-chest" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[streamline-flex--treasure-chest]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/streamline-flex -->
<div class="i-streamline-flex:treasure-chest"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="streamline-flex:treasure-chest"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/streamline-flex/treasure-chest.svg" alt="Treasure Chest icon" width="24" height="24">Related icons in Flex free icons
Treasure Chest icon in other icon sets
Treasure Chest icon FAQ
Is the Treasure Chest icon free for commercial use?
Yes. Flex free 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 Treasure Chest icon in React?
Install @iconify/react and render <Icon icon="streamline-flex: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/streamline-flex/treasure-chest.svg" alt="Treasure Chest icon">, or paste the SVG code inline to style it with CSS.