Container
The base container to contain, pad, and center content in the viewport. This component extends the React-Bootstrap Container
.
See React-Bootstrap for more documentation.
Basic Usage
Show editable code example
Any Paragon component or export may be added to the code example.
Props API#
Container Props API
- as
elementType
Default'div'Override the base element
- children
node
Specifies the contents of the container
- fluid
bool
DefaulttrueFill all available space at any breakpoint
- size
enum
'xs' | 'sm' | 'md' | 'lg' | 'xl'Set the maximum width for the container. Omiting the prop will remove the max-width
- bsPrefix
string
Default'container'Overrides underlying component base CSS class name
Usage Insights#
Container
Project Name | Paragon Version | Instance Count | |
---|---|---|---|
edx-ora2 | 21.13.1 | 1 | |
frontend-app-account | 23.14.0 | 2 | |
frontend-app-admin-portal | 22.18.0 | 18 | |
frontend-app-communications | 23.12.2 | 4 | |
frontend-app-authn | 23.14.0 | 4 | |
frontend-app-communications | 23.12.2 | 1 | |
frontend-app-course-authoring | 23.14.0 | 34 | |
frontend-app-enterprise-public-catalog | 22.17.0 | 4 | |
frontend-app-discussions | 23.14.0 | 8 | |
frontend-app-learner-record | 23.14.0 | 1 | |
frontend-app-library-authoring | 21.11.3 | 3 | |
frontend-app-learning | 23.4.5 | 12 | |
frontend-app-publisher | 23.6.1 | 2 | |
frontend-app-support-tools | 23.4.2 | 3 | |
frontend-component-header-edx | 23.6.1 | 1 | |
catalog-search | 22.20.2 | 1 | |
frontend-lib-special-exams | 23.4.2 | 12 | |
frontend-platform | 23.4.3 | 1 | |
frontend-template-application | 23.14.0 | 1 |