Below you can see the front-view size comparison of the Nikon D5600 and Samsung NX30. The Samsung NX30 is 1 mm shorter and 12 mm thinner than the Nikon D5600 but it is also 3 mm wider.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.