Change the Density of the User Interface

Allow users to choose how much white space they prefer in the user interface.
Where: This preference is exposed in the density property in the Theme Representation, which is returned from a GET request to /ui-api/themes/active.
  • ViewOne—User interface elements have a lower density on the page, which means they have more white space between them. In Lightning Experience, this setting is called Comfy.
  • ViewTwo—User interface elements have a higher density on the page, which means they have the least amount of white space between them. In Lightning Experience, this setting is called Compact.