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
Caractère
Joueur
Ajoutez-le à votre app
$
npx velvo add mystery-boxPour Claude Code, Cursor ou tout projet avec un terminal.
À utiliser pour
- Daily rewards, streak gifts, level-up prizes.
Pas pour
- Paid loot boxes. Many countries regulate them.
Props
Lues dans le TypeScript du composant lui-même, donc toujours à jour.
PropTypePar défaut
prizeObligatoirestringraritystring'Rare'colorstring'#BF5AF2'iconIconName'gift'onOpen() => voidAméliorez-le avec une skill
Ajoutez-en une à votre agent et il utilisera Mystery box comme prévu.
Motion with weightGratuit
Keeps its springs and press feel intact when your agent wires it into your app.
$
Lire la skillnpx velvo skill velvo-motionColour and hierarchyGratuit
Picks colours that keep it readable and calm, in light and dark.
$
Lire la skillnpx velvo skill colour-and-hierarchySpecs
- Category
- Games
- Tier
- Pro
- Built with
- React and TypeScript
- Files
- 18
- Size
- 389 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.