How do you add shadows to variables?

Currently when I try adding number variable for shadows to the variables collection it shows only one numerical number but how do you add X, Y, Blur and Colour values?

Hi there,

Thanks for reaching out. Once you have set up variables, you can apply the variables to X, Y, Blur and Spread in effects by clicking the variable icons.

I think these help center articles will help you:

Also, you can learn by using samples here: https://www.figma.com/community/file/1234936397107899445. So, please check it out.

If I am missing something, please let me know!

Thanks,
Toku

How about turning on/off layers inside a component when a variable mode is changed on the parent frame where the component resides? Is that possible?