Grid

A layout guide for aligning content within the app's main content area.
Banner for Grid page

Overview

Grid is a system for arranging content consistently within the main content area of an Atlassian app.

In Figma, grids are typically set up using layout guides. In the Atlassian Design System, we offer a purpose-built Figma grid for structuring content within the app's main content area. Engineers implement equivalent layouts using a combination of primitives such as box, stack, and inline.

The layout component (in code and Figma) defines everything around the main content area, including navigation and panels.

Layout component anatomy showing the top nav, side nav, main, and panel. Grid sits within main.

Grid basics

Our Figma grid has three basic elements:

  • Columns divide the main content area into 12 equal parts for horizontal structure.
  • Gutters are the gaps between columns, providing consistent separation between content.
  • Margins are the empty space between the outer columns and the edge of the main content area. They give content breathing room.
Figma grid anatomy showing columns, gutters, and margins.

By aligning content to the columns, our grid accommodates a variety of layouts within the main content area.

Diagram showing content arrangement spanning 12, 6, or 4 grid columns.

Content in the main content area can also span fewer columns, centered within the grid.

Diagram showing content arrangement center-aligned on the grid and spanning 8, 10, or 12 grid columns.
Example of content aligning to the grid columns.

Do

Align content within the app's main content area across any number of columns required.

Example of content overflowing into grid gutters and margins, breaking visual alignment.

Don’t

Don't allow content to overflow into gutters or margins. This breaks visual alignment and makes layouts unpredictable.

Aligning to the grid

Within the main content area, align content containers to the grid columns. Examples include cards, images, text blocks, tables, and forms.

Small elements, like buttons and icons, do not need to align to this grid. Use space tokens to manage the space between and within them instead.

Example showing cards aligned to grid columns. The horizontally placed input field and buttons, as well as the content within the card, do not align to the grid columns and are instead managed with space tokens.

The same applies within content containers. Only top-level containers need to align to the grid. Use space tokens for the elements inside them, such as cards and table columns.

Example showing kanban columns aligned to the grid, but the cards within them using space tokens.

Overlays like modals, tooltips, and dropdown menus also sit outside the grid, as they float above the page content.

Example of content containers aligning to the grid columns.

Do

Align content containers to our grid columns, such as cards, images, text blocks, tables, and forms.

Example of buttons and icons incorrectly aligned to the grid columns instead of using space tokens.

Don’t

Don't align small elements, such as buttons or icons, to the grid. Instead, use space tokens to manage their spacing.

Nested grids

Space tokens are the recommended approach for aligning content within containers, but you can also apply an internal grid.

The underlying concepts are the same: columns, gutters, and margins. Our Figma grid is only intended for the main content area. To set up a grid inside a container, create your own using values from our spacing scale.

Example showing a card sitting on the main grid. The card has its own nested grid.

Grid breakpoints

At each breakpoint, the gutter width, margin width, and number of columns adjust within the main content area.

Example showing how the grid changes across three breakpoint ranges: m to xl, xs to s, and xxs.

These are our default values for the grid in the main content area. Check your app or local system for the specific grid values in use, as they may differ.

BreakpointViewportColumnsGuttersMargins
xxs320 - 479px212px16px
xs480 - 767px612px16px
s768 - 1023px612px16px
m1024 - 1439px1216px32px
l1440 - 1767px1216px32px
xl1768+px1216px32px

Designing for multiple breakpoints

Design for at least 2 screen sizes, preferably more. One of these should be mobile.

DeviceBreakpointWidth (px)Height (px)GoodBetterBest
Mobilexxs320568✓✓✓
Tablets7681024--✓
Desktopl1440900-✓✓
Desktopxl19201080✓✓✓

Breakpoints also affect layout areas like navigation and panels. See the layout component for details.

Grid types

There are two types of grid:

  • Fixed grids have a maximum width and sit centered in the main content area. This is the default option.
  • Fluid grids fill the available space in the main content area. Use fluid grids when content expands horizontally and has no natural maximum width. Use them sparingly. At very large viewports, text lines can become too long and visual relationships between elements may break down.

When the main content area is smaller than the maximum width, such as at smaller breakpoints, fixed grids behave the same as fluid grids.

Side-by-side comparison of fixed and fluid grids on desktop and mobile viewports.

Fixed grids

There are two fixed grid options:

  • Fixed-wide has a maximum width of 1296px (including margins). Use this as the default for most experiences.
  • Fixed-narrow has a maximum width of 864px (including margins). Use this for long-form content to limit line length and increase readability. Some internal elements, such as headers, may break out of the grid to span across the page.
Side-by-side comparison of fixed-wide and fixed-narrow grids.

Choosing a grid type

Grid typeMaximum width (margins included)Use whenExamples
Fixed-wide (default)1296pxContent benefits from structure but doesn't need full widthDashboards, directories, search results
Fixed-narrow864pxLong-form reading is the primary activityBlogs, articles, documentation
FluidNo maximumContent expands horizontally with no natural maximum widthKanban boards, whiteboards
Example using a fixed-wide grid for a table directory.

Do

Use fixed-wide grids for structured content, such as dashboards, search results, and directories.

Example using a fixed-wide grid for long-form content.

Don’t

Don't use fixed-wide grids for long-form content like blogs and articles. Long line lengths impair readability.

Example using a fixed-narrow grid for long-form content.

Do

Use fixed-narrow grids for long-form content, such as blogs and articles.

Example using a fixed-narrow grid for a kanban board.

Don’t

Don't use fixed-narrow grids for content that needs more horizontal space. Use fixed-wide or fluid instead.

Example using a fluid grid for a kanban board.

Do

Use fluid grids for content that expands horizontally, such as kanban boards and whiteboards.

Example using a fluid grid for a table directory.

Don’t

Don't use fluid grids for structured content with a natural width, such as dashboards or directories. Elements lose their visual relationship at large viewports.

Applying grid

The default grid is already built into the Figma layout component.

  1. Select your grid type from the component properties panel.
  2. Choose your breakpoint from the responsive menu in the appearance panel.
Screenshot of the Figma layout component with the properties panel showing grid type and responsive selectors.

You can also use this grid outside of the layout component. Select it from the assets panel in the ADS Foundations library, or create your own using your app's values.

Tip: Use Shift + G (Mac) or Control + G (Windows) to show or hide the grid in Figma.

Example of the grid spanning the main content area only.

Do

Span only the main content area. Exclude the side nav and panel.

Example of the grid spanning the side nav and main area.

Don’t

Don't span the grid across navigation or panel areas.

Screenshot of the Figma responsive setting in the appearance panel.

Do

Change the breakpoint from the responsive setting in the appearance panel.

Example of manually resizing the grid component.

Don’t

Don't change the breakpoint by resizing the grid or layout component. The linked grid styles will map incorrectly.

Breakpoint set to the full viewport width.

Do

Set the grid breakpoint to the full viewport width.

Breakpoint set to the content area width only.

Don’t

Don't set the breakpoint based on the main content area width. Breakpoints are based on the full viewport width.

Grid and auto layout

Grid is a layout guide, a visual reference for aligning content to columns. To build layouts that adjust as the breakpoint changes, use auto layout to position content along the grid columns.

Screenshot of Figma auto layout settings.

Do

Use auto layout to build responsive layouts that align to the grid.

Example of manually positioning content in Figma.

Don’t

Don't use absolute positioning or drag-to-place content without auto layout. Manual placement doesn't adapt to changing breakpoints and breaks responsive layouts.

  • Layout is the component that defines the outer structure of an app, including navigation, panels, and the main content area.
  • Primitives are the box, stack, and inline primitives used to build equivalent layouts in code.
  • Spacing uses space tokens to ensure consistent alignment and separation between elements.
  • ADS Figma libraries contain the pre-built grid with default Atlassian breakpoint values.
  • Auto layout in Figma is Figma's guide to building responsive layouts that align to grid columns.
Was this page helpful?
We use this feedback to improve our documentation.
© 2026 AtlassianTrademark, (opens new window)Privacy, (opens new window)License