Lanseringsuke50 % rabatt på ett år AuteurSe planer
SpacesSkaff Pro
Alle komponenter

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.

Åpne i editoren
Hold to open
Karakter
Leken

Legg den til i appen din

$npx velvo add mystery-box

For Claude Code, Cursor eller et hvilket som helst prosjekt med terminal.

Bruk til

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

Ikke til

  • Paid loot boxes. Many countries regulate them.

Props

Lest rett fra komponentens egen TypeScript, så de er alltid oppdatert.

PropTypeStandard
prizePåkrevdstring
raritystring'Rare'
colorstring'#BF5AF2'
iconIconName'gift'
onOpen() => void

Bedre med en skill

Gi agenten din en, så bruker den Mystery box slik den er tenkt.

Motion with weightGratis

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

$npx velvo skill velvo-motion
Les skillen
Colour and hierarchyGratis

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

$npx velvo skill colour-and-hierarchy
Les skillen

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
NestePack opening