Can a 360° HDRi be used as a UI widget material ?

I have some HDRi which i have set as a normal material and it works fine. But would it be possible to change this panorama 360° HDR to UI material ? So far by just simply changing it to UI material doesn’t seem to work unfortunately.