I have a Satechi Compact Keyboard. I got it for use with my 2018 Mac Mini. It can be paired with up to three devices, and is switchable via key press. I use it with my 2018 iPad Pro and my iPhone XS. Other than a now slightly annoying (as I’ve gotten used to it) delay when it hasn’t been used for a while (to extend battery life) I’m quite pleased with it.
Good luck whatever you go with.