---
title: Layout
slug: design-system/layout
description: Learn about the three essential design elements - spacing, grid, and breakpoints - to create stunning and responsive designs. This comprehensive document provides a detailed table mapping spacing levels to code variables, insights on baseline grids, colum
createdAt: 2023-03-09T09:34:17.000Z
---

::::Tabs
:::Tab{title="Spacing"}


- Do you have a common set of spacings?
- What are the best practices for applying these different levels of spacing?
- What is the corresponding spacing in code? For example:

| **Spacing** | **Sass variable** |
| ----------- | ----------------- |
| 4px         | $spacing-xxs      |
| 8px         | $spacing-xs       |
| 16px        | $spacing-s        |
| 24px        | $spacing-m        |
| 48px        | $spacing-l        |
| 96px        | $spacing-xl       |



:::

:::Tab{title="Grid"}
### Baseline

- Do you have a baseline grid? Why?
- Is it ever OK to place something off the grid?
- Does the baseline grid differ between content and typography?

### Columns

- Do you use a column system or a horizontal grid?
- Are there any best practices around column widths?
- How do gutters work?
:::

:::Tab{title="Breakpoints"}
Do you have well-defined breakpoints? Documenting them here can help make it clear when and how to adjust content responsively, e.g.



![](https://api.archbee.com/api/optimize/fNEeV2bO-J-V0NK1eH_VR/gQ3pv9-B1WDL-9rkqjTZG_image.png)

```css
// Small devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }

// Medium devices (tablets, 768px and up)
@media (min-width: 768px) { ... }

// Large devices (desktops, 992px and up)
@media (min-width: 992px) { ... }

// Extra large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }
```
:::
::::

