How to use Enhanced Input Action with UI?

Hi all, just for posterity - I think this thread also contains relevant info.