Container | next | NativeBase | Universal Components for React and React Native

Search
K
Hire us
Data Display
Typography
Disclosure
Media and Icons
Others
If you are starting a new project, please try gluestack-ui for better performance and new design.
version: next
Container
The Container restricts a content's width according to current breakpoint, while keeping the size fluid.
Implements
Usage
To include content, wrap it in the Container component.
Example
A component library for the React Ecosystem
NativeBase is a simple, modular and accessible component library that gives you building blocks to build you React applications.
Playground
Props
Container implements , so all the Box Props can be passed to it.
Container
Name
Type
Description
Default
centerContent
boolean
It'll center child elements based on their content width.
true
Nativebase logo
MadeWithNativeBase
Gluestack logo
gluestack-ui