> For the complete documentation index, see [llms.txt](https://docs.shopstory.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.shopstory.app/design-tokens/page-containers/margins.md).

# Margins

Page container margins are standard space tokens but need to be prefixed with a `containerMargin.` string:

```typescript
export const shopstoryConfig = {
  //...
  space: [
    {
      id: 'containerMargin.default',
      value: "5vw"
    },
    {
      id: 'containerMargin.another',
      value: {
        "@xs": 16,
        "@md": 32,
        "@lg": 64
      }
    },
  ],
}
```

## Built-in container margin

The default container margin is `5vw` and is stored in `containerMargin.default` space. You should override this value with projects default container margin.
