Even the bottom line M2 Mini supports...
Display Support:2 Displays*Resolution Support:6016x3384 (6K)*
Details:*This model supports "up to two displays" -- one "up to" 6016x3384 (6K) resolution at 60 Hz over Thunderbolt and one display with "up to" 5120x2880 (5K) resolution at 60 Hz over Thunderbolt or 3840x2160 (4K) resolution at 60 Hz over HDMI.
The Thunderbolt 4 ports support native DisplayPort output using USB-C as well as Thunderbolt 2, HDMI, DVI, and VGA output with adapters.
2nd Display Support:Dual/Mirroring*2nd Max. Resolution:5120x2880 (5K)*
Details:*Please refer to the earlier field for details, but if the primary display is 6016x3384 (6K) via Thunderbolt, the largest secondary display this system can support is 5120x2880 (5K), also via Thunderbolt. The HDMI port supports one display up to 4096x2160 (4K) at 60 Hz.
https://everymac.com/systems/apple/mac_mini/specs/mac-mini-m2-8-core-cpu-10-core-gpu-2023-specs.html#macspecs1
Video (Monitor): 2 (Thunderbolt 4), 1 HDMI 2.0Floppy (Ext.): None
Details:This model has two Thunderbolt 4 ports and one HDMI 2.0 port. The Thunderbolt 4 ports support DisplayPort, Thunderbolt 4 (up to 40 Gbps), USB 4 (up to 40 Gbps), and USB 3.1 Generation 2 (up to 10 Gbps).
And that Monitor is...
Standing screen display size49 InchesScreen Resolution5120x1440Max Screen Resolution5120 x 1440 Pixels