npm_versionnpm Paragon package page

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

Any Paragon component or export may be added to the code example.

Props API#

Container Props API
  • as ElementType

    Override the base element

    Default'div'
  • children ReactNode Required

    Specifies the contents of the container

  • fluid boolean

    Fill all available space at any breakpoint

    Defaulttrue
  • bsPrefix string

    Overrides underlying component base CSS class name

    Default'container'
  • size 'xs' | 'sm' | 'md' | 'lg' | 'xl'

    Set the maximum width for the container. Omiting the prop will remove the max-width

Usage Insights#

Container

Project NameParagon VersionInstance Count
edx-ora2
21.13.1
1
frontend-app-account
22.10.0
2
frontend-app-admin-portal
21.13.1
18
frontend-app-authn
22.11.2
1
frontend-app-communications
22.7.0
1
frontend-app-course-authoring
22.8.1
42
frontend-app-enterprise-public-catalog
21.13.1
4
frontend-app-learner-dashboard
22.9.0
2
frontend-app-learner-portal-enterprise
21.13.1
33
frontend-app-learner-record
22.10.0
1
frontend-app-learning
22.10.0
1
frontend-app-library-authoring
21.11.3
2
frontend-app-ora-grading
21.11.3
1
frontend-app-support-tools
21.13.1
11
frontend-component-header-edx
21.13.1
1
frontend-component-header
22.10.0
2
catalog-search
21.13.1
1
frontend-lib-special-exams
22.7.0
12
frontend-platform
22.8.1
1
frontend-template-application
22.10.0
1
prospectus
20.46.2
131