How can I display inventory for every product option

Is there any way to display product option inventory?

Under every size possible I would like to display its quantity.
Like this:

Hello @maticknap ,

Use

{{ variant.inventory_quantity }}

More you can check here

Thanks

With this I can only display the inventory of current (selected) variant. My goal is to display all of them at the same time. But I cannot match variant with options.

I shared a link too where its explained how you can get with all variants