Blazor Live Preview
See your Blazor pages while you type – right inside Visual Studio.
Built for MudBlazor, works with your own components, services, layouts and theme.

The user interface follows the language of Visual Studio: German or English.
Live preview – no save, no build, no browser
- Updates on every keystroke of the
.razor file you are editing.
- MudBlazor and your own components render for real. After a build the preview restarts with your newest components and registers your services automatically – no setup.
- Pages appear inside their real layout: your app bar, navigation and your own
MudTheme.
- Preview and code are connected. Hover shows the name of every element. Click an element to jump to its line in the editor. Move the cursor in the editor and the preview highlights the element and scrolls to it.
- Navigate inside the preview: pick any page of your project or follow a link – the matching
.razor file opens.
- Desktop, tablet and phone widths; content light or dark; pin the preview to one file while you work on another.

- All components of your project, your libraries and MudBlazor, with search.
- Knobs for every parameter – switches, dropdowns, text and numbers – with the descriptions from your XML documentation. Required parameters come first and start with sample values.
- The live preview shows exactly the markup that will be inserted.
- Insert at the cursor, copy, or drag into the editor.
Icon picker

Search all MudBlazor icons – Material Filled, Outlined, Rounded, Sharp, TwoTone and the custom sets – and pick one with a click.
Properties window – edit your markup with knobs

Put the cursor on a component in your .razor file. The toolbox shows it with the values from your code. Change a knob and only that attribute is rewritten – added, replaced or removed when set back to the default. @bind, @onclick, other attributes and your formatting stay untouched. Every change is one undo step.
Get started
- Install the extension and open a Blazor project.
- View › Other Windows › Blazor Live Preview – and Blazor Toolbox.
- Open a
.razor file. Build once so your own components, services and styles show up.
Requirements
- Visual Studio 2022 (17.14 or later) or Visual Studio 2026, x64 or Arm64
- ASP.NET Core Runtime 10 – the preview tells you if it is missing
- Blazor projects (Web App, Server or WebAssembly), best with MudBlazor 9 – the preview warns if your project uses a different MudBlazor version
Good to know
- Private by design: the preview runs locally on
127.0.0.1 and makes no requests to the internet by itself. It only loads external stylesheets or scripts if your own App.razor does.
- How it works: your markup is interpreted, not compiled. Fixed values like
Color="Color.Primary" or Icon="@Icons.Material.Filled.Add" are applied, other expressions appear as placeholders, and loops show their first item. Compiled components, layouts and services come from your last build.
- Safe with your code: missing services, failing components or layouts show a short hint instead of breaking the preview, and background services of your project are never started.
- Your project's code really runs: your components, layouts and services run in the preview with your project's settings (
appsettings.json, appsettings.Development.json). If those point to a real database or API, the preview talks to it. Put test values into appsettings.Preview.json, or turn off project services under Tools › Options › Blazor Live Preview. Like pressing F5, only open the preview for projects you trust.
- Locked down: the preview only answers requests for
127.0.0.1, rejects other origins and only accepts commands from its own pages – navigation to other addresses opens your browser instead.
- Settings: Tools › Options › Blazor Live Preview – language, project services, developer tools.
Feedback
Found a bug or missing something? Please ask in the Q & A tab or leave a rating – every report helps.
License, credits and disclaimer
- **Free and open source under the MIT license, © 2026 dotti. Provided “as is”, without warranty of any kind.
- Built with MudBlazor (MIT license, © MudBlazor) – the preview ships MudBlazor to render your components. Material Design Icons © Google LLC (Apache License 2.0). The full license texts are in
THIRD-PARTY-NOTICES.txt in the extension folder.
- Independent project: not affiliated with, endorsed or sponsored by MudBlazor or Microsoft. Microsoft, Visual Studio, Blazor and .NET are trademarks of the Microsoft group of companies; MudBlazor is the name of its open-source project. All names are used only to describe what the extension works with.
- Privacy: no telemetry, no account, no data collection – the extension sends nothing anywhere.
| |