Blazor MediaQuery - Overview

Resize your browser to see the effects of the media queries on the Blazor code.
  • Overview.razor
Loading the demo source code...please wait.
blazor ui ninja image

The MediaQuery component is part of Telerik UI for Blazor, a professional grade UI library with 95+ native components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.

Description

The Telerik Blazor Media Query component allows you to build responsive UI with renderings for every resolution. It lets you get flags in your C# code that correspond to CSS media queries without writing any JavaScript.

The MediaQuery component lets you change component settings, render different components or prevent components from rendering at all depending on the browser viewport size. This can make your application rendering much more adaptive. You can still use responsive CSS and HTML rendering for the overall page layout where you don't need to affect components or their settings.

This Blazor MediaQuery - Overview demo is part of a unique collection of hundreds of Blazor demos, with which you can see all Telerik Blazor components and their features in action. View the source code of each of the demos or directly adapt and edit them, including their theme appearance, in some of our dedicated playgrounds for Blazor projects - Telerik REPL for Blazor.

Support & Learning Resources

Additional Resources

An error has occurred. This application may no longer respond until reloaded.
Reload