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
frontend-platform23.20.01
frontend-lib-special-exams23.4.212
catalog-search22.20.51
frontend-app-support-tools23.4.211
frontend-app-publisher23.14.82
frontend-app-ora-grading23.19.11
frontend-app-library-authoring21.11.32
frontend-app-learning23.19.21
frontend-app-learner-record23.19.21
frontend-app-learner-portal-enterprise22.20.634
frontend-app-learner-dashboard23.19.22
frontend-app-enterprise-public-catalog22.20.55
frontend-app-course-authoring23.20.322
frontend-app-communications23.19.11
frontend-app-authn23.19.21
frontend-app-admin-portal22.20.318
frontend-app-account23.19.22
edx-ora221.13.11