Semana de lanzamiento50 % de descuento en un año de AuteurVer planes
EspaciosHazte Pro
Todos los componentes

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.

Abrir en el editor
Hold to open
Carácter
Juguetón

Añádelo a tu app

$npx velvo add mystery-box

Para Claude Code, Cursor o cualquier proyecto con terminal.

Úsalo para

  • Daily rewards, streak gifts, level-up prizes.

No para

  • Paid loot boxes. Many countries regulate them.

Props

Leídas del propio TypeScript del componente, así que siempre están al día.

PropTipoPor defecto
prizeObligatoriastring
raritystring'Rare'
colorstring'#BF5AF2'
iconIconName'gift'
onOpen() => void

Mejóralo con una skill

Añade una a tu agente y usará Mystery box tal como se diseñó.

Motion with weightGratis

Keeps its springs and press feel intact when your agent wires it into your app.

$npx velvo skill velvo-motion
Leer la skill
Colour and hierarchyGratis

Picks colours that keep it readable and calm, in light and dark.

$npx velvo skill colour-and-hierarchy
Leer la skill

Specs

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.

Tags

gamespaymentsproreact
SiguientePack opening