render-info

Read RendererInfo.IsInteractive and RendererInfo.Name in Blazor Razor components to adapt UI.

4|Updated Jan 1, 2026
One-click install
npx skills add https://github.com/AndreHogberg/summit-ui --skill render-info
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: render-info
Source: https://github.com/AndreHogberg/summit-ui/tree/main/.claude/skills/render-info
Command: npx skills add https://github.com/AndreHogberg/summit-ui --skill render-info

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Blazor applications render differently across environments. RendererInfo provides runtime context about the current renderer, enabling you to adapt UI and behavior when prerendering vs interactive sessions and across platforms like Server, WebAssembly, or WebView.

Core Features & Use Cases

  • Detect interactive vs static rendering to conditionally render controls and placeholders.
  • Identify the render platform (Static, Server, WebAssembly, WebView) to tailor UX and features.
  • Use cases include prerender placeholders, hydration-aware UI, and hybrid app scenarios.

Quick Start

Create a Razor component that checks RendererInfo.IsInteractive and RendererInfo.Name to render a loading message during prerender and the full UI after hydration.

Frequently Asked Questions about render-info

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect render context in Blazor to change UI during prerendering?

Detect render context in Blazor by reading the RendererInfo.IsInteractive property in your Razor component to conditionally display placeholders during prerendering and full interactive UI after hydration.

What is the best way to identify if a Blazor component is running on WebAssembly or Server?

Identify the render platform by checking the RendererInfo.Name property in Blazor, which exposes the runtime environment name to distinguish between Server, WebAssembly, Static, and WebView render contexts.

How do I show different content for static versus interactive Blazor render modes?

Show different content by evaluating RendererInfo.IsInteractive in your Razor component, returning static HTML for prerendered output and enabling dynamic controls or event handlers when the interactive render mode activates.

Do I need external dependencies to access RendererInfo in Blazor hybrid apps?

No external dependencies are needed to access RendererInfo in Blazor, as it is a built-in runtime feature that exposes render context properties directly within Razor components for static, Server, WebAssembly, and WebView scenarios.

Why does my Blazor UI render differently across WebView and WebAssembly environments?

Blazor UI renders differently across WebView and WebAssembly because the runtime renderer context changes, requiring you to inspect RendererInfo properties to adapt conditional content and behavior for each specific platform.

When should I check RendererInfo.IsInteractive in Blazor applications?

Check RendererInfo.IsInteractive when you need hydration-aware UI in Blazor, such as displaying loading messages during prerendering and switching to fully interactive controls once the component hydrates on the client or server.