Lanceringsuge50 % rabat på et år AuteurSe planer
SpacesFå 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.

Åbn i editoren
Hold to open
Karakter
Legesyg

Føj den til din app

$npx velvo add mystery-box

Til Claude Code, Cursor eller et hvilket som helst projekt med en terminal.

Brug den til

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

Ikke til

  • Paid loot boxes. Many countries regulate them.

Props

Læst direkte fra komponentens egen TypeScript, så de altid er opdaterede.

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

Bedre med en skill

Giv din agent en, så bruger den Mystery box, som den er tænkt.

Motion with weightGratis

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

$npx velvo skill velvo-motion
Læs skillen
Colour and hierarchyGratis

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

$npx velvo skill colour-and-hierarchy
Læs skillen

Specs

Category
Games
Tier
Pro
Built with
React and TypeScript
Files
18
Size
387 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
NæstePack opening