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

Scratch card Pro

Rub the foil away with a finger or the mouse. Past half, the rest falls away and the prize lands on the aura.

25% offYour next order, this week only

Scratch with your mouse or finger.

Caractère
Joueur

Ajoutez-le à votre app

$npx velvo add scratch-card

Pour Claude Code, Cursor ou tout projet avec un terminal.

À utiliser pour

  • Rewards, referrals and surprises.

Pas pour

  • Anything that feels like gambling for money.

Props

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

PropTypePar défaut
childrenObligatoireReactNode
foilstring'Scratch to reveal'
onReveal() => void

Améliorez-le avec une skill

Ajoutez-en une à votre agent et il utilisera Scratch card comme prévu.

Less is moreGratuit

One of these per screen is plenty. This skill keeps it that way.

$npx velvo skill less-is-more
Lire la skill
Landing pagesPro

Places it where it earns attention instead of competing for it.

Incluse dans ProLire la skill

Specs

Category
Effects
Tier
Pro
Built with
React and TypeScript
Files
25
Size
517 KB
Needs
framer-motion
Install
npx velvo add scratch-card
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

effectsglowpaymentsproreact
SuivantHolo card