The default responsive UX/UI library upon which the UI Kit relies is responsive_grid.
If you are familiar with the HTML/Javascript Bootstrap framework, the terms “xl,” “lg,” “md,” “sm,” and “xs” should be well-known to you.
Usage of responsive_grid in UI Kit
For responsive UX/UI design, the standard approach involves utilizing ResponsiveGridRow and ResponsiveGridCol to render content within a FUISectionContainer.
In this instance, it has three FUISectionContainers (within the FUISectionPlain) aligned horizontally evenly on a medium device (md); and once the device’s height and width change to something small that resembles that of a small device, the FUISectionContainers should be aligned vertically instead.
In certain scenarios, it is necessary to assign distinct values for different device sizes. This is where the responsiveValue (a component of the responsive_grid) plays a crucial role.
Usage of responsiveValue
Here is a simple illustration of applying distinct padding values to accommodate varying device screen sizes: