New to Telerik UI for Blazor? Download Free 30-day trial
Form - Adaptive
- EXAMPLE
- VIEW SOURCE
- EDIT IN TELERIK REPL
- Change Theme
default
- Adaptive.razor
- User.cs
Description
The Telerik Blazor Form can be combined with the Telerik Blazor MediaQuery to achieve responsiveness of the layout. The Telerik Blazor MediaQuery component can detect changes in the dimensions of the viewport of the user's browser. Based on dimension conditions, the app can render different content or use different component configuration.
The current demo has two major breakpoints—800px and 1280px. Depending on the viewport width, the items are distributed in different numbers of columns. To see the adaptivity in action, resize the width of your browser either by resizing the whole browser window, or with the help of the dev tools of the browser (Press F12).