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

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, 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