Theme

npm_versionnpm Paragon package page

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

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

Theme Variables (SCSS)#

$max-width-xs: 464px !default;
$max-width-sm: 708px !default;
$max-width-md: 952px !default;
$max-width-lg: 1192px !default;
$max-width-xl: 1440px !default;

Props API#

Container Props API
  • as elementType

    Override the base element

    Default'div'
  • children node
  • fluid bool

    Fill all available space at any breakpoint

    Defaulttrue
  • size enum"xs" | "sm" | "md" | "lg" | "xl"

    Set the maximum width for the container

Usage Insights#

Container

Project NameParagon VersionInstance Count
edx-ora220.9.21
frontend-app-account20.44.02
frontend-app-admin-portal20.39.212
frontend-app-authn20.40.21
frontend-app-communications20.34.01
frontend-app-course-authoring20.35.12
frontend-app-enterprise-public-catalog20.29.04
frontend-app-learner-dashboard20.32.03
frontend-app-learner-portal-enterprise20.36.039
frontend-app-learner-record20.32.01
frontend-app-library-authoring20.44.02
frontend-app-ora-grading20.30.01
frontend-app-profile20.44.01
frontend-app-support-tools20.26.04
catalog-search19.25.11
frontend-lib-content-components20.32.05
frontend-lib-special-exams20.29.012
frontend-platform20.30.11
frontend-template-application20.36.01
prospectus20.32.392