blazor-js-interop

Installation
SKILL.md

Blazor JavaScript Interop

Calling JavaScript from .NET

@inject IJSRuntime JS

@code {
    private async Task ShowAlert()
    {
        await JS.InvokeVoidAsync("alert", "Hello from Blazor!");
    }

    private async Task<string> GetValue()
    {
        return await JS.InvokeAsync<string>("localStorage.getItem", "key");
    }
Installs
13
GitHub Stars
17
First Seen
Apr 4, 2026
blazor-js-interop — lobbi-docs/claude