Our spacing follows css box model. So the margin is applied outside of the border. And padding applied inside the border.
Open the editing modal of the component by clicking then go to "Styles" tab. Then expand the "Margin & Padding" accordion. Then enter desired value to update the spacing.