Semana de lançamento50% de desconto em um ano de AuteurVer planos
EspaçosAssinar o Pro
Todos os 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 no editor
Hold to open
Caráter
Brincalhão

Adicione ao seu app

$npx velvo add mystery-box

Para 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óriastring
raritystring'Rare'
colorstring'#BF5AF2'
iconIconName'gift'
onOpen() => void

Melhore 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.

$npx velvo skill velvo-motion
Ler a skill
Colour and hierarchyGrátis

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

$npx velvo skill colour-and-hierarchy
Ler a 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
PróximoPack opening