Breakpoints
What is a "breakpoint"?
Breakpoint is a condition upon which layout acquires a new state. Such condition is often based on a device's characteristics like screen size, resolution, orientation, and others.
Atomic Layout operates with the same breakpoints you would use in plain CSS media queries.
Properties
The following properties can be used to describe a breakpoint:
Property name | Value type | Description |
|
| Minimum device width. |
|
| Maximum device width. |
|
| Minimum device height. |
|
| Maximum device height. |
|
| Minimum screen resolution of the device. |
|
| Maximum screen resolution of the device. |
|
| Device screen aspect ratio. |
|
| Minimum aspect ratio of the device. |
|
| Maximum aspect ratio of the device. |
|
| Scanning process of the device. |
|
| Device viewport orientation. |
| enum: | Display mode of the application specified in the |
Default breakpoint name
Whenever a component's prop is not suffixed by a breakpoint name, a default breakpoint name is used.
The default breakpoint name is xs
, making mobile-first the default responsive behavior.
Default breakpoints
Atomic Layout uses Bootstrap 4 Grid breakpoints and mobile-first behavior by default.
Breakpoint name | xs (default) | sm | md | lg | xl |
Screen width | <576px | ≥576px | ≥768px | ≥992px | ≥1200px |
Configuration
Last updated