Mystery box Pro
Hold to charge it: the box shakes harder and light leaks from the seams, then the lid blows off in a flash, rays turn behind it and the prize card flips up with its rarity shimmering.
Hold to open
Character
Playful
Add it to your app
$
npx velvo add mystery-boxFor Claude Code, Cursor or any project with a terminal.
Use it for
- Daily rewards, streak gifts, level-up prizes.
Not for
- Paid loot boxes. Many countries regulate them.
Props
Read from the component’s own TypeScript, so it’s always current.
PropTypeDefault
prizeRequiredstringraritystring'Rare'colorstring'#BF5AF2'iconIconName'gift'onOpen() => voidMake it better with a skill
Add one to your agent and it uses Mystery box the way it was designed.
Motion with weightFree
Keeps its springs and press feel intact when your agent wires it into your app.
$
Read the skillnpx velvo skill velvo-motionColour and hierarchyFree
Picks colours that keep it readable and calm, in light and dark.
$
Read the skillnpx velvo skill colour-and-hierarchySpecs
- Category
- Games
- Tier
- Pro
- Built with
- React and TypeScript
- Files
- 18
- Size
- 377 KB
- Needs
- framer-motion
- Install
- npx velvo add mystery-box
- Works with
- Next.js, Vite, Remix, Expo web
Licence
Velvo Pro licence- Personal and commercial use
- Change it however you like
- No credit needed
Not for resale as a component or a UI kit.