Henara.MetabaseEmbed.Core 1.1.0

Henara.MetabaseEmbed.Core

Blazor component that embeds a Henara Metabase dashboard as an unstyled iframe. The embed token comes from Henara.MetabaseEmbed.Client.

Packages

Package Contents
Henara.MetabaseEmbed.Client Token service client, setup and configuration
Henara.MetabaseEmbed.Core MetabaseDashboard, the component the dashboard components render
Henara.MetabaseEmbed.PraxisGroup MeinePraxisDashboard, PraxxmeDashboard
Henara.MetabaseEmbed.Admin HtaAnalyticsDashboard, HenaraBiDashboard, plus the PraxisGroup components

Reference the package for the user's role; the others come along:

dotnet add package Henara.MetabaseEmbed.PraxisGroup

Setup

See Henara.MetabaseEmbed.Client:

services.AddMetabaseEmbed(configuration);

Usage

@using Henara.MetabaseEmbed.PraxisGroup

<MeinePraxisDashboard AccessToken="@accessToken"
                      DatabaseId="@databaseId"
                      OnError="error => message = error.Message"
                      style="width:100%; border:none;" />

The database IDs come from IMetabaseTokenProvider.GetAccessibleDashboardsAsync(accessToken).

Parameters

Parameter Description
AccessToken Keycloak access token for the token request; when empty, the registered IKeycloakAccessTokenProvider supplies it
DatabaseId Database the token is requested for
WithTitle, WithDownloads Metabase title and download controls (default true)
TabId, OnLoaded OnLoaded fires with TabId once the dashboard has rendered; requires TabId
OnError Fires with a MetabaseEmbedError when the token request fails; no iframe is rendered then
Token Ready embed token; skips the token request

The Metabase base URL comes from METABASE_INSTANCE_URL (see Henara.MetabaseEmbed.Client). Components render only the iframe. Any other attribute (class, style, …) is applied to it.

MetabaseEmbedError.Message holds the readable error text, MetabaseEmbedError.Exception the original exception, usually a MetabaseTokenServiceException with its Reason.

Windows Forms

Render the components in a BlazorWebView and register the services from Setup in its service collection.

Content

metabase-embed.js is served from _content/Henara.MetabaseEmbed.Core/. It loads iframe-resizer 4.3.2 from cdn.jsdelivr.net to size the iframe to the dashboard.

Showing the top 20 packages that depend on Henara.MetabaseEmbed.Core.

Packages Downloads
Henara.MetabaseEmbed.PraxisGroup
Blazor components embedding the Henara Metabase dashboards available to praxis group admins.
9
Henara.MetabaseEmbed.PraxisGroup
Blazor components embedding the Henara Metabase dashboards available to praxis group admins.
5

Version Downloads Last updated
1.1.0 9 10/30/2026
1.0.0 5 10/29/2026