treasure chest icon
treasure-chest from IconPark TwoTone by ByteDance · Two tone · Abstract · Apache-2.0 Free for personal and commercial use.
- Name
- treasure-chest
- Set
- IconPark TwoTone
- Style
- Two tone
- Category
- Abstract
- Viewbox
- 48×48
- License
- Apache 2.0
The same icon in other sets
More abstract icons from IconPark TwoTone
Use the treasure chest icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><defs><mask id="SVGdLAyjlIH1"><g fill="none" stroke="#fff" stroke-linejoin="round" stroke-width="4"><path d="M42 4H6a2 2 0 0 0-2 2v36a2 2 0 0 0 2 2h36a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2Z"/><path stroke-linecap="round" d="M4 24h13m14 0h13"/><path fill="#555" d="M24 31a7 7 0 1 0 0-14a7 7 0 0 0 0 14Z"/></g></mask></defs><path fill="currentColor" d="M0 0h48v48H0z" mask="url(#SVGdLAyjlIH1)"/></svg>
React
import type { SVGProps } from "react";
export function IconParkTwotoneTreasureChest(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><defs><mask id="SVGdLAyjlIH1"><g fill="none" stroke="#fff" strokeLinejoin="round" strokeWidth="4"><path d="M42 4H6a2 2 0 0 0-2 2v36a2 2 0 0 0 2 2h36a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2Z"/><path strokeLinecap="round" d="M4 24h13m14 0h13"/><path fill="#555" d="M24 31a7 7 0 1 0 0-14a7 7 0 0 0 0 14Z"/></g></mask></defs><path fill="currentColor" d="M0 0h48v48H0z" mask="url(#SVGdLAyjlIH1)"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><defs><mask id="SVGdLAyjlIH1"><g fill="none" stroke="#fff" stroke-linejoin="round" stroke-width="4"><path d="M42 4H6a2 2 0 0 0-2 2v36a2 2 0 0 0 2 2h36a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2Z"/><path stroke-linecap="round" d="M4 24h13m14 0h13"/><path fill="#555" d="M24 31a7 7 0 1 0 0-14a7 7 0 0 0 0 14Z"/></g></mask></defs><path fill="currentColor" d="M0 0h48v48H0z" mask="url(#SVGdLAyjlIH1)"/></svg> </template>
CSS
.icon-treasure-chest {
width: 24px;
height: 24px;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cdefs%3E%3Cmask%20id%3D%22SVGdLAyjlIH1%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%3E%3Cpath%20d%3D%22M42%204H6a2%202%200%200%200-2%202v36a2%202%200%200%200%202%202h36a2%202%200%200%200%202-2V6a2%202%200%200%200-2-2Z%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20d%3D%22M4%2024h13m14%200h13%22%2F%3E%3Cpath%20fill%3D%22%23555%22%20d%3D%22M24%2031a7%207%200%201%200%200-14a7%207%200%200%200%200%2014Z%22%2F%3E%3C%2Fg%3E%3C%2Fmask%3E%3C%2Fdefs%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M0%200h48v48H0z%22%20mask%3D%22url(%23SVGdLAyjlIH1)%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cdefs%3E%3Cmask%20id%3D%22SVGdLAyjlIH1%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%3E%3Cpath%20d%3D%22M42%204H6a2%202%200%200%200-2%202v36a2%202%200%200%200%202%202h36a2%202%200%200%200%202-2V6a2%202%200%200%200-2-2Z%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20d%3D%22M4%2024h13m14%200h13%22%2F%3E%3Cpath%20fill%3D%22%23555%22%20d%3D%22M24%2031a7%207%200%201%200%200-14a7%207%200%200%200%200%2014Z%22%2F%3E%3C%2Fg%3E%3C%2Fmask%3E%3C%2Fdefs%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M0%200h48v48H0z%22%20mask%3D%22url(%23SVGdLAyjlIH1)%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/icon-park-twotone/treasure-chest.svg?color=%231a73e8&size=48