HUD Element

does anyone knows how i can realize the following? (attached pictures)
Thought about material with a mask like here:

But i have no idea how to do it.

e/ got it

You could break it up into chunks on a Uv level and then wipe with a ramp.