Grid
<gcds-grid>
Also called: layout, columns, columns layout, grid container.
A grid is a responsive, flexible column layout to position elements on a page.
-
GitHub -
Figma
Grid component preview
Check out the problems grids solve to see if they fit the problem you're solving for.
Problems grids solve
Grids create column layouts that keep content elements grouped across different devices and screens.
Use grids to:
- Apply a flexible column layout that scales to the screen size (viewport) of the user's device.
- Guide focus by defining the width of a column and the spacing between columns.
- Create complex layouts with control over the sizing of each column.
- Accommodate different screen sizes by setting a custom, optimized layout for different viewports, like mobile, tablet, and desktop.
- Limit the width of content displayed to ensure lines wrap and are more readable.
Related components
Container for applying a basic, single column layout across all viewports.
Card for structuring actionable content in a group on a single topic.
Help us improve
Have questions or a request? Give feedback on our contact form.
Something's wrong? Raise it through GitHub with an