Nosivad wrote:
each new monitor comes with an HDMI cord would display port be better?
Your M4 MacBook Air outputs video in DisplayPort form. (DisplayPort Alt Mode, or Thunderbolt-encapsulated DisplayPort). If your monitors can take DisplayPort input, that would be the most "natural" conversion, but it's perfectly fine to use HDMI adapters if that is what works better for you.
There are several versions of DisplayPort and of HDMI, so sometimes, if your monitor is using an older version, there can be limitations, especially with 4K monitors.
What I envision is a compact(ish) unit that can be plugged in via one of the two USB C ports on the side of the MacBook Air and the monitors can each be plugged into the hub independently.
For that, you are going to need a Thunderbolt hub, dock, or dual display adapter. Macs don't support DisplayPort MST and can only drive a single monitor over "plain" USB-C. Which means that if you bought a "plain" USB-C hub or dock, you could only plug one monitor into it, and would have to plug the other into the Mac.
Macs that can drive multiple monitors can drive up to two 4K monitors (or one 5K/6K one) over Thunderbolt. So you could plug both monitors into a Thunderbolt dock and have only one cable running to the Mac. Assuming that the dock had its own wall power source, that cable could also carry charging power to the Mac.
Three long-time vendors of Thunderbolt gear for Macs are
I would suggest looking at their offerings.
Note that some of these devices split a single Thunderbolt chain into several chains – and allow you to connect up to two "USB-C to (whatever)" adapters to downstream ports. Others might have a dedicated DisplayPort or HDMI port, plus the ability to connect one "USB-C to (whatever)" adapter to a Thunderbolt daisy-chaining port.