MDS Assistant is an experiment.
Hi, I'm the MDS Assistant and can help you with information from our guidelines and components.

I do not provide code and development guidance. For coding assistance, please check out our experimental MCP server.

Breakpoints

Build responsive layouts and experiences at any screen size.

Breakpoints define how layouts adapt to different viewport and container sizes, ensuring a consistent and usable experience across mobile, tablet, and desktop devices. Use these breakpoints to help you create layouts that are predictable and scale gracefully from handheld devices on the warehouse floor to widescreen dashboards in control centers.

Breakpoints allow layouts to adapt content structure across mobile and desktop viewport experiences.
Breakpoints allow layouts to adapt content structure across mobile and desktop viewport experiences.

Breakpoints values

The Maersk Design System defines five breakpoints applicable for viewports and content containers. By default the breakpoints respond to the viewport size.

Breakpoint nameWidth (px)Context
xs - extra small0-640Delivery truck drivers marking delivery on mobile phone app.
sm - small641-1024Using tablet device at a warehouse or terminal.
md - medium1025-1440Viewing not a full screen browser window on a laptop.
lg - large1441-1920Typical external screens in the office.
xl - extra large1920 +Wide screens and high resolution screens.

Container-based breakpoints

Container-based breakpoints respond to the width of the container rather than the entire viewport. This enables more granular control over layout behavior—allowing components to adapt based on their immediate context. It’s especially effective in complex or modular layouts where sections of a page need to remain visually consistent, even within wider screens.

Container breakpoints trigger layout changes based on the space available inside a container not the entire viewport size.
Container breakpoints trigger layout changes based on the space available inside a container not the entire viewport size.

Considerations

  • Validate and test the layouts across devises to ensure the consistent user experience.
  • Design for the breakpoints that make sense in the application or website context. If 100% of the user base uses desktop mobile viewports should not be a priority.
  • Test if rich media such as images and videos adapt well across the breakpoints you are using.
  • Make sure to use the column grid to further enhance the responsiveness of the interface.

Resources

Design

Develop