XP Gain Button โ shadcn/ui Component by movin | shadcnregistry
XP Gain Button
component
On each click, a "+100 XP" label floats upward from the click position and fades out over 860ms via CSS keyframes. A running total increments in the button label. Click position is captured from the mouse event and used to place the floating element.