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
Caráter
Brincalhão
Adicione ao seu app
$
npx velvo add mystery-boxPara Claude Code, Cursor ou qualquer projeto com terminal.
Use para
- Daily rewards, streak gifts, level-up prizes.
Não use para
- Paid loot boxes. Many countries regulate them.
Props
Lidas do próprio TypeScript do componente, então estão sempre atualizadas.
PropTipoPadrão
prizeObrigatóriastringraritystring'Rare'colorstring'#BF5AF2'iconIconName'gift'onOpen() => voidMelhore com uma skill
Adicione uma ao seu agente e ele usa Mystery box do jeito que foi pensado.
Motion with weightGrátis
Keeps its springs and press feel intact when your agent wires it into your app.
$
Ler a skillnpx velvo skill velvo-motionColour and hierarchyGrátis
Picks colours that keep it readable and calm, in light and dark.
$
Ler a 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.