How to gradient mask?

Hi there, I would like to make a gradient mask, I mean, just like if a transparent png with a gradient that leads to transparecy passed through a symbol
Can anyone help me ?