Lanseringsvecka50 % rabatt på ett år AuteurSe planer
SpacesSkaffa Pro
Alla komponenter

Prize wheel Gratis

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.

Öppna i editorn
Karaktär
Lekfull
Registrera dig gratis för att ladda ner

Använd till

  • Rewards, referral prizes, onboarding gifts.

Inte till

  • Real-money gambling without the right licence.

Props

Lästa direkt ur komponentens egen TypeScript, så de är alltid aktuella.

PropTypStandard
prizesKrävsPrize[]
onWin(p: Prize) => void
ctastring'Spin'

Bättre med en skill

Ge din agent en, så använder den Prize wheel som det är 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
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
NästaMystery box