Skip to content
Theme UI
GitHub

Container

Centered, max-width layout component

import { Container } from 'theme-ui'
Centered container

The Container component's max-width can be defined in theme.sizes.container.

Variants

Container variants can be defined in the theme.layout object. The Container component uses theme.layout.container as its default variant style.

Edit the page on GitHub
Previous:
AspectImage
Next:
NavLink