This is a very nice and small KVM switch with all the necessary USB cables to share the monitor, keyboard and mouse between two computers. Although no HDMI cables are included (you'll have to buy them separately but they're pretty cheap anyway), this device works well and I had no trouble setting it up. I can definitely recommend this device.
CKL 4 Port KVM Switch Dual Monitor DisplayPort 4K 60Hz: Unprecedented Multi-Computer Control with Audio, USB 2.0 HUBS, and DP 1.2
11 Review
NEWCARE HDMI KVM Switch: 4K@60Hz, 2x1 HDMI2.0 Ports + 3X USB KVM Ports - Share 2 Computers on UHD Monitor, with Wireless Keyboard and Mouse Support - USB Disk, Printer, USB Camera Compatible
10 Review
TESmart 1080P 60Hz USB VGA KVM Extender Over Cat5e Cat6 Ethernet Cable - Long Range 984ft/300m (Sender+Receiver)
10 Review
🔌 HDMI 2.0 4 Port KVM Switch with 4K@60Hz, 2K@144Hz,1080P@120Hz Support, 18Gbps Bandwidth, USB 2.0 Keyboard/Mouse/Printer/Monitor/PC Selector, Audio Out/Mic In, HDR10, Dolby Vision, Dolby/DTS, HDCP2.2 Compatibility
10 Review