Treasure Chest icon
Download the Treasure Chest icon as free SVG or PNG. Customize its outline stroke. Copy React, Vue or Svelte code.
- treasure
- chest
- loot
- reward
- gold
- pirate
- game
- box
Size
Stroke
Color
- Category
- media
- Styles
- Outline
- Component
- IconTreasureChest
- License
- MIT · Paweł Kuna
Code
Copy it the way you use it
treasure-chest.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="M4 19h16a1 1 0 0 0 1 -1v-9a4 4 0 0 0 -4 -4h-10a4 4 0 0 0 -4 4v9a1 1 0 0 0 1 1" />
<path d="M3 11h18" />
<path d="M16 5v14" />
<path d="M8 5v14" />
<path d="M12 11v2" />
</svg> Use the Treasure Chest 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 { IconTreasureChest } from '@tabler/icons-react';
<IconTreasureChest size={24} stroke={2} />Read the React guideVue example
import { IconTreasureChest } from '@tabler/icons-vue';
<IconTreasureChest :size="24" :stroke="2" />Read the Vue guideSvelte 5 example
import { IconTreasureChest } from '@tabler/icons-svelte-runes';
<IconTreasureChest size={24} stroke={2} />Read the Svelte guideRelated