Неделя запускаСкидка 50% на год AuteurТарифы
Все компоненты

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.

Открыть в редакторе
Hold to open
Характер
Игривый

Добавить в приложение

$npx velvo add mystery-box

Для Claude Code, Cursor и любого проекта с терминалом.

Подходит для

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

Не подходит для

  • Paid loot boxes. Many countries regulate them.

Пропсы

Прочитаны прямо из TypeScript компонента, поэтому всегда актуальны.

ПропсТипПо умолчанию
prizeОбязательныйstring
raritystring'Rare'
colorstring'#BF5AF2'
iconIconName'gift'
onOpen() => void

Лучше с навыком

Добавьте навык агенту, и он будет использовать Mystery box так, как задумано.

Motion with weightБесплатно

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

$npx velvo skill velvo-motion
Открыть навык
Colour and hierarchyБесплатно

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

$npx velvo skill colour-and-hierarchy
Открыть навык

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
ДальшеPack opening