Component packs › Questline › Reward Claim
Claim it and the heap of gems on the card empties into your wallet, which counts up with every landing.
Reward Claim is a reward from Questline, a component pack with 6 gamification components: Gamification components where every reward visibly travels from what earned it. Price: $2 for the whole pack.
Built with: heap that empties, counting wallet, claimed state.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
balance | number | 1240 | XP in the wallet. Default 1240. |
amount | number | 250 | XP the reward pays. Default 250. |
title | string | ||
detail | string | ||
onClaim | (balance: number) => void | ||
autoplay | number | false | Showcase mode: claims (then offers a new reward) every N ms while visible. |
readonly balance: numberclaim(): voiddestroy(): voidimport RewardClaim from './RewardClaim';
<RewardClaim />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Gamification and reactions.