Skip to content
Sancho UI
Toggle dark mode
Getting started
Built with ☕ by
Ben McMahen

Container

A container doesn't do much other than provide a maximum width and some responsive padding for your content. Using it provides consistent padding and spacing across devices and components. The Toolbar composes Container.

Basic usage

<Container>
  <Text>This text will have a padding on the left and right</Text>
</Container>

API

NegativeMarginsContainer
cssInterpolationWithTheme<any>
Container
cssInterpolationWithTheme<any>