reactBootstrap for React js
reactBootstrap Grid System
Auto-layout columns
When no column widths are specified the Col
component will render equal width columns
Responsive grids
The Col
lets you specify column widths across 6 breakpoint sizes (xs, sm, md, lg, xl and xxl). For every breakpoint, you can specify the amount of columns to span, or set the prop to <Col lg={true} />
for auto layout widths.You can also mix and match breakpoints to create different grids depending on the screen size.
Grid in MUI.com
Basic grid
Column widths are integer values between 1 and 12; they apply at any breakpoint and indicate how many columns are occupied by the component.
A value given to a breakpoint applies to all the other breakpoints wider than it (unless overridden, as you can read later in this page). For example, xs={12}
sizes a component to occupy the whole viewport width regardless of its size.
Grid with multiple breakpoints
xs={12} sm={6}
sizes a component to occupy half of the viewport width (6 columns) when viewport width is 600 or more pixels. For smaller viewports, the component fills all 12 available columns.