Design
Component checklist
React
When to use
Use a container in the following cases
- To group content
- To display multiple subjects and functions on a screen
- To create a scannable UI
Style
The container is the area that can hold any kind of content. It is the keystone of widgets, posts, community content, cards, etc...
Behavior
Easily align content in columns or stack them (or as a grid if there are more elements than columns). Usually, a with defined columns wraps several components.
Content safe zone
The minimum padding for content elements inside the container is --space-4. Never use smaller.
Background color
The recommended color is white. In exceptional cases, a different color may be used. But it must make sense in the case.