Select the elements you want to group
Hold Shift and click each element, or drag to select multiple elements
Click Group in the top toolbar
Use the keyboard shortcut Ctrl + G on Windows or Cmd + G on Mac
To ungroup, select the group and click Ungroup
Use Ctrl + Shift + G on Windows or Cmd + Shift + G on Mac to ungroup
