Arduino Mega + CNC shield

Hi everyone, I'm new to arduino and would like to understand if a CNC shield can be mounted on the Arduino Mega 2560 board.
I mean, does it fit directly or need any trick to be adapted?

Thank you.

There are a couple of CNC shields that fit a Mega that I know of. The 4 driver GRBL compatable shield that fits an Uno or Mega and The 5 driver model that is for 3D printers that fit a Mega only (pictured). Both just plug onto the Arduino board. Careful alignment of the pins is necessary but no “tricks”.

What are you building?