container

v4.9.10arrow_drop_down
v4.9.10
v4.5.2
STATUS
Passing
DOWNLOADS
234
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
24 KB
Demos: - [Container](https://material-ui.com/components/container/) API: - [Container API](https://material-ui.com/api/container/)
1 contributor
Install container as a package?
Copied
npm i @bit/mui-org.material-ui.container
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
modifieddraft
modifieddraft
chevron_left
chevron_right
container ()
Properties
NameTypeDescription
children
(required)
node
classes
(required)
object

Override or extend the styles applied to the component. See CSS API below for more details.

className
string
component
elementType

The component used for the root node. Either a string to use a DOM element or a component.

disableGutters
bool

If true, the left and right padding is removed.

fixed
bool

Set the max-width to match the min-width of the current breakpoint. This is useful if you’d prefer to design for a fixed set of sizes instead of trying to accommodate a fully fluid viewport. It’s fluid by default.

maxWidth
'xs' | 'sm' | 'md' | 'lg' | 'xl' | false

Determine the max-width of the container. The container width grows with the size of the screen. Set to false to disable maxWidth.

Help and resources