Layout
When planning a page:
- Know your use case
- Prioritize your content
- Keep related content close together
When laying out content on a page:
- Use one of the Common layouts
- Maintain a meaningful reading order across breakpoints between:
- Source/markup order
- Visual display order (the sequential logic of the graphical layout)
- Tab/keyboard focus order.
- Use semantic HTML5 markup
- Use Grid rows and columns only as needed
- When customizing, beware of both squashed and overly-wide text content blocks
- Test pages in viewport widths across all breakpoints (from 536 to 1200 pixels)
- Define the language and reading direction in the
<html>
element (usinglang
anddir
)- Use left- and right- aligned text for left-to-right and right-to-left languages respectively;
- Be careful of eroding readability when using justified text;
- Avoid centered text formatting outside of headings or hero copy.
common layouts
The common layouts we use in products.
onboarding layouts
Introductory, welcoming layouts that introduce the user to the app or new feature.
setup layouts
A wizard that guides the user through a complex setup process to create objects. Setup guides can be used multiple times to create new objects.