Back to icons
IconEmoji & Gaming
Treasure Chest icon
The Treasure Chest icon is an animated React icon from ReactFrame: a 24×24 drawing with a 1.5px stroke that moves when its button or card is hovered. Copy it as SVG or JSX, download the .svg file, or install it with the shadcn CLI. It's free.
Also known aspiratelootgoldrewardwealthadventureboxfortunelootboxinventory
16
20
24
32
48
Hover to play
Install
Copied!
npx shadcn@latest add @reactframe/treasure-chest-iconUse it
import { motion } from "motion/react";
import { TreasureChestIcon } from "@/components/treasure-chest-icon";
export function Example() {
// The icon animates when anything around it with whileHover="hover" is hovered.
return (
<motion.button initial="rest" whileHover="hover">
<TreasureChestIcon size={20} />
Treasure Chest
</motion.button>
);
}Details
- Component
- TreasureChestIcon
- Category
- Emoji & Gaming
- Canvas
- 24 × 24, 2px padding
- Stroke
- 1.5 (adjustable), round caps and joins
- Styles
- Stroke, duotone, static, pixel
- State
- None
- Dependencies
- motion