Soenneker.Blazor.Chatwoot 11.0.1120

Prefix Reserved
dotnet add package Soenneker.Blazor.Chatwoot --version 11.0.1120
                    
NuGet\Install-Package Soenneker.Blazor.Chatwoot -Version 11.0.1120
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Blazor.Chatwoot" Version="11.0.1120" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Blazor.Chatwoot" Version="11.0.1120" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Blazor.Chatwoot" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Blazor.Chatwoot --version 11.0.1120
                    
#r "nuget: Soenneker.Blazor.Chatwoot, 11.0.1120"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Blazor.Chatwoot@11.0.1120
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Blazor.Chatwoot&version=11.0.1120
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Blazor.Chatwoot&version=11.0.1120
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

Soenneker.Blazor.Chatwoot

A Blazor component and scoped JavaScript interop service for the Chatwoot website widget.

Installation and registration

dotnet add package Soenneker.Blazor.Chatwoot
using Soenneker.Blazor.Chatwoot.Registrars;

builder.Services.AddChatwootInteropAsScoped();

Render the widget

@using Soenneker.Blazor.Chatwoot.Configuration
@using Soenneker.Blazor.Chatwoot.Dtos

<Chatwoot @ref="_chatwoot"
          Configuration="_configuration"
          OnReady="OnReady"
          OnOpen="OnOpen"
          OnClose="OnClose"
          OnMessage="OnMessage"
          OnError="OnError" />

@code {
    private Chatwoot? _chatwoot;

    private readonly ChatwootConfiguration _configuration = new()
    {
        WebsiteToken = "your-website-token",
        BaseUrl = "https://app.chatwoot.com",
        Locale = "en",
        Position = "right",
        DarkMode = "auto"
    };

    private Task OnReady() => Task.CompletedTask;
    private Task OnOpen() => Task.CompletedTask;
    private Task OnClose() => Task.CompletedTask;
    private Task OnMessage(ChatwootMessage message) => Task.CompletedTask;
    private Task OnError(JsonElement error) => Task.CompletedTask;
}

The component loads the SDK and creates the widget after its first render. BaseUrl must be absolute HTTPS; loopback HTTP is allowed for local development. Chatwoot's SDK is page-global, so render only one Chatwoot component at a time.

Control the widget

Use the component reference after OnReady has fired:

await _chatwoot!.Open();
await _chatwoot.Close();
await _chatwoot.Toggle();

await _chatwoot.SetUser("customer-42", new
{
    name = "Ada Lovelace",
    email = "ada@example.com",
    identifier_hash = hashFromYourServer
});

await _chatwoot.SetCustomAttributes(new
{
    plan = "enterprise",
    region = "us-central"
});

The component also exposes SetUserAttributes, SetLabel, RemoveLabel, SetLocale, DeleteCustomAttribute, Reset, Shutdown, and PopoutChatWindow. Close hides the widget while retaining its session; Reset clears the Chatwoot session; Shutdown removes this wrapper's event handlers and resets the widget.

For authenticated visitors, enable Chatwoot identity validation and generate identifier_hash on a trusted server. Never place the HMAC secret in the Blazor application. Attribute values and chat content are sent to the configured Chatwoot instance, so apply the same consent and privacy controls used for other third-party customer-data tools.

If the application uses a Content Security Policy, allow the configured Chatwoot origin for its SDK, frames, images, and network connections. The component releases its callbacks and widget state when it is removed.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.1120 88 11/12/2026
11.0.1119 59 11/12/2026
11.0.1118 63 11/12/2026
11.0.1117 59 11/12/2026
11.0.1116 60 11/11/2026
11.0.1115 51 11/11/2026
11.0.1114 55 11/11/2026
11.0.1113 63 11/11/2026
11.0.1109 61 11/11/2026
11.0.1108 59 11/11/2026
11.0.1106 64 11/11/2026
11.0.1105 52 11/11/2026
11.0.1104 65 11/11/2026
11.0.1100 65 11/11/2026
11.0.1097 56 11/11/2026
11.0.1095 67 11/11/2026
11.0.1094 63 11/10/2026
11.0.1093 60 11/10/2026
11.0.1091 364 11/4/2026
11.0.1090 102 11/3/2026
Loading failed

Updated Multiple NuGet packages