They're basically interchangeable. But yeah TRS is more compact and more normative when there is no preamp. Some monitors I've seen have xlr inputs though, even though they expect line level input.
Another option is to just use XLR/TRS combo jacks if you want to support both, but that’s not really any different than the user using an XLR to TRS cord or converter