A compact apparatus for studies of element and phase-resolved ferromagnetic resonance.