# Does all the current lag the voltage in an inductor or is it only a small component?

the way I understood a basic inductive circuit (voltage source + inductor) is that all the circuit current (Io) lags the voltage by 90 degrees. However, I am following this blog tutorial to refresh myself (https://www.electronics-tutorials.ws/transformer/transformer-loading.html), where it can be seen in the V-flux triangle posted that only a small component of current (magnetising current or Im) is what actually lags the source voltage whereas the other component of the current (Ie) is actually in-phase with the source voltage (Vp).

In addition, it is stated that eddy currents and hysteresis losses are provided by this in-phase current which I thought was due to magnetic field growing and collapsing in the transformer windings. I guess it also makes sense that these losses are real power losses but how do they show up in the primary side? As the winding impedance being lower and thus drawing more current (P=IV)? Would this be dissipated as (greater) real power across the winding or as (greater) imaginary power VAr being required by the inductor?

I would really appreciate your help as I am really confused with this. Thank you in advance.