Launch-Woche50 % auf ein Jahr AuteurPläne ansehen
SpacesPro holen
Alle Komponenten

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.

Im Editor öffnen
Hold to open
Charakter
Verspielt

Zu deiner App hinzufügen

$npx velvo add mystery-box

Für Claude Code, Cursor oder jedes Projekt mit Terminal.

Gut für

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

Nicht für

  • Paid loot boxes. Many countries regulate them.

Props

Direkt aus dem TypeScript der Komponente gelesen, also immer aktuell.

PropTypStandard
prizePflichtstring
raritystring'Rare'
colorstring'#BF5AF2'
iconIconName'gift'
onOpen() => void

Mit einem Skill noch besser

Gib deinem Agenten einen davon, und er nutzt Mystery box so, wie es gedacht ist.

Motion with weightKostenlos

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

$npx velvo skill velvo-motion
Skill lesen
Colour and hierarchyKostenlos

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

$npx velvo skill colour-and-hierarchy
Skill lesen

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