Layout → Density

The admin is high density by default, but the level of density can range depending on the merchant's task.

High density

Information-rich interfaces, like index pages or data tables, require high-density layouts for efficiency. By presenting information in a denser format, merchants can quickly access and compare data, enhancing the effectiveness of the Shopify admin.

An index table with each row divided by a line
Do

Use divider lines and surface colors to create clear delineation between sections in a high density component.

Another way to create visual zones in high density layouts is to use different surface colors. Secondary colors can be used to create visual hierarchy within a high density component, and to guide merchants to the data that matters most.

A card with inset surfaces of different colors
Do

Use different surface colors to style inset surfaces and create visual divisions without using lines.

Grid and vertical divisions

Dividing surfaces vertically and in a grid pattern also offers a way to increase density. This type of visual pattern is better suited for selections or data visualization and should be used accordingly. These divisions are made by using different surface colors instead of using line dividers.

A grid layout depicting a packaging selection tool
Do

Divide surfaces into a grid pattern for complex components that expect an action, like a selection.

A card split in the middle with packaging options on the left in a list and customer details on the right
Don't

Divide and organize surfaces vertically by creating columns of unrelated content.

Action components use high density

Smaller components, like option lists or popovers, are built with high density in mind. Because their main purpose is to offer a set of actions to the merchant, they need to feel small and efficient.

Effectively designed action components give the feeling of a pro tool in the Shopify admin and increase efficiency when using different features.

A popover with different sorting options, all shown in a tight list
Do

Use high density consistently when offering lists of options to choose or select from.

A list of collections to choose from, with one section using images and the other using a list
Don't

Suddenly change density in an action component. Always offer the most condensed option possible instead.

Low density

Low density interfaces are best suited for focused editing interfaces, like a product detail page. These interfaces offer larger hit targets, wordier buttons, and are best suited to specialized UI that offers uncommon actions in the Shopify admin.

Because low density interfaces offer more space, there is more for the merchant to analyze before taking action. Low density interfaces can also contain high density components, like a complex text editor within a card that serves to edit a product title and description.

Top-to-bottom visual rhythm is often used to create a linear and predictable layout that is easy for merchants to understand.

A detail shot of a product detail page
Do

Low density layouts are useful when switching contexts in the same page often, which happens often in the Shopify admin.

A product variant detail page with a vertical division between options and media
Don't

Use grid or vertical dividers to create low density layouts. These can be confusing and hard to understand in a focused editing UI.

Switching contexts

Cards are the best way to switch context in low density layouts. Each card can be specialized in a set of features that requires the merchant to recenter their focus.

The description card in the product detail page followed by the media card
Do

Split each context into its own card.

A description box followed by a data table describing the size and weight of each image
Don't

Mix low-density information with a high-density component in the same card.

    On this page