Semaine de lancement50 % sur un an d’AuteurVoir les offres
EspacesPasser à Pro
Tous les composants

Prize wheel Gratuit

A wheel that spins for five seconds and slows like a real one, the pointer flicking at every segment and the lights chasing round the rim.

Ouvrir dans l’éditeur
Caractère
Joueur
Inscrivez-vous gratuitement pour télécharger

À utiliser pour

  • Rewards, referral prizes, onboarding gifts.

Pas pour

  • Real-money gambling without the right licence.

Props

Lues dans le TypeScript du composant lui-même, donc toujours à jour.

PropTypePar défaut
prizesObligatoirePrize[]
onWin(p: Prize) => void
ctastring'Spin'

Améliorez-le avec une skill

Ajoutez-en une à votre agent et il utilisera Prize wheel comme prévu.

Motion with weightGratuit

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

$npx velvo skill velvo-motion
Lire la skill
Colour and hierarchyGratuit

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

$npx velvo skill colour-and-hierarchy
Lire la skill

Specs

Category
Games
Tier
Free
Built with
React and TypeScript
Files
18
Size
384 KB
Needs
framer-motion
Install
npx velvo add prize-wheel
Works with
Next.js, Vite, Remix, Expo web

Licence

Velvo free licence
  • Personal and commercial use
  • Change it however you like
  • No credit needed

Not for resale as a component or a UI kit.

Tags

gamesgesturegamecontrolfreereact
SuivantMystery box