Right now I’m unsure, but when there was a 27-inch option, it was perfect. I still use a 2019 27-inch iMac. I’m a book designer, and having an all-in-one with such a large 5K screen has been a huge plus for me.
The screen feels too small for today’s needs. I would personally get a Mini and a nice screen. That way, you can upgrade the Mini as needed while keeping the display for longer.