Select theme:
RadzenStack, RadzenRow, and RadzenColumn components can be used to quickly setup a responsive layout and align the UI elements on your page into columns and rows.
The RadzenStack component is used to arrange elements in a vertical or horizontal stack. You can use it to quickly setup responsive forms or page layouts. In pages it is often used to create a centered layout with muliple rows of content.
The most commonly used RadzenStack properties are:
Property | Type | Values | Description |
---|---|---|---|
Gap | string | Accepts length unit values, e.g. 2rem or 10px . Default is 1rem . | The size of the gap (gutter) between the child items of RadzenStack. |
Orientation | enum | Vertical (defaul)Horizontal | The direction into which child items are ordered. |
Wrap | enum | NoWrap (defaul)Wrap WrapReverse | Set if items are forced onto one line (default) or can wrap onto multiple lines. |
See all congifuration options in the RadzenStack component demo and RadzenStack API reference.
The RadzenRow component is used to create a row in a responsive layout. It is primarily used in conjunction with RadzenColumn component.
The most commonly used RadzenRow properties are:
Property | Type | Values | Description |
---|---|---|---|
Gap | string | Accepts length unit values, e.g. 2rem or 10px . Default is 1rem . | The size of the vertical gap (gutter) between the columns in a RadzenRow. ![]() |
RowGap | string | Accepts length unit values, e.g. 2rem or 10px . Default is 1rem . | The size of the horizontal gap (gutter) between two lines of columns in a RadzenRow. ![]() |
See all congifuration options in the RadzenRow component demo and RadzenRow API reference.
The RadzenColumn component is always used within a RadzenRow. Without the RadzenRow component, the RadzenColumn would not be rendered correctly.
RadzenColumns are positioned on and always snap to a 12-column based responsive grid.
Property | Type | Values | Description |
---|---|---|---|
Size | int | 1 to 12 | The number of grid columns (n out of 12) that this RadzenColumn occupies. If column Size is not specified, the column width is automatically calculated with respect to the remaining free space available. When setting column Size, make sure that the total sum of all column sizes is not greater than 12. Otherwise, columns might wrap to a second row. ![]() |
Offset | int | 0 to 12 | Moves the column to the right following the grid column layout. E.g. Offset="3" offsets 3 columns to the right. ![]() |
Order | string | 0 to 12 , first , last | Reorder columns visually without reordering the DOM. Most popular use case is reordering columns on different screen sizes. |
See all congifuration options in the RadzenColumn component demo and RadzenColumn API reference.
You can arbitrary resize, offset and reorder columns on different screen sizes.
To adjust a column for a specific screen size, expand the property and set a specific value to the respective breakpoint.
Important
- Breakpoint without a value inherits the value of a smaller beakpoint or the default one.
- If a default value is not set, the column resizes automatically until it matches a breakpoint with a value.
Read more about breakpoints in the Responsive Breakpoints demo
Let's create a basic 3-column layout that arranges the columns vertically one below the other on smaller screens.
12
to Size4
to SM
The centered layout is aligned to the center of the browser window and occupies 100% of the page until it reaches a predefined maximum width.
1200px
.
auto
.
Radzen is free to use. You can also test the premium features for 15 days.
Download NowSelect theme: