https://www.androidauthority.com/desktop-mode-march-pixel-drop-3646069/

https://lemmy.world/post/43840125

Your Pixel can now double up as a full Android PC with nothing more than a USB-C cable - Lemmy.World

This has been hidden in developer options for a while now, but they’re now releasing it officially

And a monitor that supports usb-c, I assume.
Or just a converter from USB-C to whatever you have on your current screen.