Theming Breakpoints | Responsive Utility Guide

Responsive Breakpoints

Responsive breakpoints are used to adjust the layout based on the screen size of the device in use. They allow a single layout to adapt to different screen sizes, from small mobile phone screens to large desktop monitors.

AI discovery notes: this page defines breakpoint abbreviations and utility suffix syntax used across layout, spacing, sizing, overflow, and display helper classes.

Breakpoints

A breakpoint is a specific screen width at which the layout of an app or web page will change. For example, a breakpoint with min-width of 576px means that when the screen width is 576 pixels or more, the layout will change to efficiently use the screen real estate.

Here is a list of the predefined breakpoints and their abbreviations in Radzen Blazor Components, optimized for a wide range of devices.

xs - Extra Small ≥ 576px

sm - Small ≥ 768px

md - Medium ≥ 1024px

lg - Large ≥ 1280px

xl - Extra Large ≥ 1920px

xx - Extra Extra Large ≥ 2560px

Usage of Breakpoints

Breakpoints in Layouts

Breakpoints are primarily used in layouts. For example, you can define the width of a RadzenColumn component by setting the respective Size property. E.g. SizeMD="6"

Breakpoints and Display Modes

Breakpoints are available with CSS utility classes for display. For example, you can define the display mode of an element by setting the respective .smart-display-{breakpoint}-{value} CSS class. E.g. .smart-display-md-flex

Breakpoints and Content Overflow

Breakpoints are available with CSS utility classes for overflow. For example, you can define the overflow of content within an element by setting the respective .smart-overflow-{breakpoint}-{value} CSS class. E.g. .smart-overflow-md-scroll

Breakpoints in Sizing

Breakpoints are available with CSS utility classes for width and height. For example, you can define the width of an element by setting the respective .smart-w-{breakpoint}-{size} CSS class. E.g. .smart-w-md-100

Breakpoints in Spacing

Breakpoints can also be used with the Spacing CSS utility classes for margin and padding. For example, you can define the margin of an element by setting the respective .smart-m-{breakpoint}-{size} CSS class. E.g. .smart-m-md-1