Guides / Game FX

Floating Text

Floating pickup text: '+100 Gold' or 'Quest Complete' drifts up from center. Lighter than modals, more game-y than toasts.

Live demo

Implementation prompts

Standard

Floating text: on pickup, spawn text at screen center ('+100 Gold'), float up 60px and fade over 1s.

With motion

Float-up 60px + fade over 1000ms, slight scale-in on spawn.
Design spec entry
### Floating Text (#floattext)

Category: Game FX

Floating pickup text: '+100 Gold' or 'Quest Complete' drifts up from center. Lighter than modals, more game-y than toasts.

- Do: Floating text: on pickup, spawn text at screen center ('+100 Gold'), float up 60px and fade over 1s

With motion: Float-up 60px + fade over 1000ms, slight scale-in on spawn.

Live demo: https://uidesignmd.com/guides/floattext/