Breakpoints

Breakpoint is a condition that describes a breaking point of layout acquiring next state. The usage of breakpoints is optional, and is often based on the device's characteristics (i.e. size, orientation).

Atomic layout operates with the very 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

minWidth

Numeric

Minimum device width.

maxWidth

Numeric

Maximum device width.

minHeight

Numeric

Minimum device height.

maxHeight

Numeric

Maximum device height.

minResolution

String

Minimum screen resolution of the device.

maxResolution

String

Maximum screen resolution of the device.

aspectRatio

String

Device screen aspect ratio.

minAspectRatio

String

Minimum aspect ratio of the device.

maxAspectRatio

String

Maximum aspect ratio of the device.

scan

interlace | progressive

Scanning process of the device.

orientation

portrait | landscape

Device viewport orientation.

displayMode

enum: fullscreen | standalone | minimal-ui | browser

Display mode of the application specified in the manifest.json

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, implying mobile-first 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