Tempo.Blazor.Modeling
2.12.0
dotnet add package Tempo.Blazor.Modeling --version 2.12.0
NuGet\Install-Package Tempo.Blazor.Modeling -Version 2.12.0
<PackageReference Include="Tempo.Blazor.Modeling" Version="2.12.0" />
<PackageVersion Include="Tempo.Blazor.Modeling" Version="2.12.0" />
<PackageReference Include="Tempo.Blazor.Modeling" />
paket add Tempo.Blazor.Modeling --version 2.12.0
#r "nuget: Tempo.Blazor.Modeling, 2.12.0"
#:package Tempo.Blazor.Modeling@2.12.0
#addin nuget:?package=Tempo.Blazor.Modeling&version=2.12.0
#tool nuget:?package=Tempo.Blazor.Modeling&version=2.12.0
Tempo.Blazor
Comprehensive Blazor component library with 100+ components for building modern web applications. Supports WebAssembly, Server, and InteractiveAuto render modes and multi-targets .NET 8, 9, and 10.
Key features:
- Full-featured form controls, data tables, pickers, charts, scheduler, kanban, and workflow designer
- FluentValidation integration via
Tempo.Blazor.FluentValidation - Built-in localization (English / French / Czech) with override support
- CSS design system based on custom properties with dark mode
- Injectable
ToastServiceandThemeServiceregistered automatically - Lightweight abstractions package (
Tempo.Blazor.Abstractions) for use in API/service projects without UI dependencies - Optional Tempo Reporting packages for embedded viewers, report definitions, rendering, export, and Report Server integration
Installation
dotnet add package Tempo.Blazor
Optional packages:
dotnet add package Tempo.Blazor.All # Compatibility package: core + split feature packages
dotnet add package Tempo.Blazor.Abstractions # Interfaces only (for API/service projects)
dotnet add package Tempo.Blazor.PdfViewer # PDF.js powered PDF viewer
dotnet add package Tempo.Blazor.AI # AI conversation UI: safe markdown, messages, streaming, composer
dotnet add package Tempo.Blazor.Codes # QR code and barcode components
dotnet add package Tempo.Blazor.DiagramEditor # Diagram editor and diagram assets
dotnet add package Tempo.Blazor.Wireframe # Wireframe editor and wireframe assets
dotnet add package Tempo.Blazor.Modeling # Modeling editor built on DiagramEditor
dotnet add package Tempo.Blazor.Spreadsheet # Spreadsheet editor and XLSX support
dotnet add package Tempo.Blazor.GanttXlsx # Optional Gantt XLSX import/export helpers
dotnet add package Tempo.Blazor.DocumentEditor # Document editor and canvas runtime
dotnet add package Tempo.Blazor.NotionEditor # Notion-style editor and block/database UI
dotnet add package Tempo.Blazor.Signing # Signing workflows and PDF template designer
dotnet add package Tempo.Blazor.FluentValidation # FluentValidation integration for EditForm
dotnet add package Tempo.Reporting.Abstractions # Report definition JSON, validation, data contracts
dotnet add package Tempo.Reporting.Engine # Processing, layout, PDF/PNG, CSV/XLSX
dotnet add package Tempo.Blazor.Reporting # Blazor report viewer/designer/explorer components
Redesign foundation
The responsive primitives the component redesign builds on — layout modes, the bottom sheet, the overlay top layer, the editor shell, toolbar overflow, the shared pointer drag — are mapped in docs/redesign-foundation.md. Each contract has its own document; that page links them.
Document Editor Cutover
TmDocumentEditor defaults to the canvas engine after the phase 25 cutover. Rollback and migration notes are in docs/document-editor-canvas-cutover.md.
Quick Start
1. Register Services
// Program.cs
builder.Services.AddTempoBlazor();
To keep the pre-split all-in setup, install Tempo.Blazor.All and register:
builder.Services.AddTempoBlazorAll();
Tempo.Blazor.All includes Tempo.Blazor.Signing and calls AddTempoBlazorSigning() automatically.
Viewport scope
A modal, a dialog and a bottom sheet resolve their layout from the viewport, not from the container their trigger sits in. Place one viewport scope as the outermost element of your layout, wrapping the sidebar too:
<TmLayoutObserver IsViewportScope="true" IsContainer="false">
@Body
</TmLayoutObserver>
IsContainer="false" is required: a containment context on this element would become the containing
block for every position: fixed overlay and pin a sheet to the app shell instead of the viewport.
With no viewport scope an overlay measures the viewport itself, so a phone still gets the sheet. The
first frame uses InitialMode until that measurement arrives, which is a flash, not a wrong layout.
The sheet contract — snaps, dismiss, inline host — is docs/bottom-sheet.md.
Set InitialMode="TmLayoutMode.Mobile" on the scope when the first frame must already be the phone
layout. See
docs/responsive-conventions.md.
For a lean app, reference and register only the feature packages you use:
builder.Services.AddTempoBlazor();
builder.Services.AddTempoBlazorPdfViewer();
builder.Services.AddTempoBlazorDiagramEditor();
builder.Services.AddTempoBlazorWireframe();
builder.Services.AddTempoBlazorSpreadsheet();
builder.Services.AddTempoBlazorDocumentEditor();
builder.Services.AddTempoBlazorNotionEditor();
builder.Services.AddTempoBlazorSigning();
Custom Diagram Stencils
Install Tempo.Blazor.DiagramEditor and register custom diagram stencils after AddTempoBlazorDiagramEditor(). Keep provider output as your own data and mark built-in application stencils with DiagramStencilOrigin.TempoOriginal.
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Tempo.Blazor.Components.Diagram.Models;
using Tempo.Blazor.Components.Diagram.Stencils;
builder.Services.AddTempoBlazorDiagramEditor();
builder.Services.TryAddEnumerable(
ServiceDescriptor.Singleton<IDiagramStencilProvider, MyStencilProvider>());
public sealed class MyStencilProvider : IDiagramStencilProvider
{
public int Priority => 100;
public IEnumerable<DiagramStencilSet> GetStencilSets()
{
yield return new DiagramStencilSet
{
Id = "my-stencils",
NameResourceKey = "DiagramStencilSet_MyStencils",
Stencils =
[
new DiagramStencil
{
Id = "my-stencils.service",
NameResourceKey = "DiagramStencil_MyService",
Category = "Application",
Kind = DiagramStencilKind.Node,
Origin = DiagramStencilOrigin.TempoOriginal
}
]
};
}
}
2. Add CSS
<link href="_content/Tempo.Blazor/css/tempo-blazor.bundled.css" rel="stylesheet" />
<link href="_content/Tempo.Blazor.DiagramEditor/css/tempo-blazor-diagram-editor.css" rel="stylesheet" />
<link href="_content/Tempo.Blazor.Wireframe/css/tempo-blazor-wireframe.css" rel="stylesheet" />
<link href="_content/Tempo.Blazor.Spreadsheet/css/tempo-blazor-spreadsheet.css" rel="stylesheet" />
<link href="_content/Tempo.Blazor.DocumentEditor/css/tempo-blazor-document-editor.css" rel="stylesheet" />
<link href="_content/Tempo.Blazor.NotionEditor/css/tempo-blazor-notion-editor.css" rel="stylesheet" />
<link href="_content/Tempo.Blazor.Signing/css/tempo-blazor-signing.css" rel="stylesheet" />
TmPdfTemplateDesigner loads its ES module from _content/Tempo.Blazor.Signing/js/pdf-template-designer.js. If your host app uses CSP or a static-asset allowlist, include that path. TmSignatureCapture still uses the core _content/Tempo.Blazor/js/signature-capture.js asset.
Split editors that need the core pointer helpers (TmSpreadsheet, TmWireframeEditor, TmDiagramEditor) serve _content/Tempo.Blazor/js/ as well as their own assets: their canvases dynamically import() the shared pointer-drag.js / pointer-gesture.js from the CORE package folder, so a per-file CSP hash must list the package script and both helpers (a host-wide nonce covers all of them). Without them the surface keeps its mouse path, logs one warning and touch gestures are off. TmSpreadsheet additionally needs its package theme layer (_content/Tempo.Blazor.Spreadsheet/css/theme-spreadsheet-dark.css) when a host imports the individual component stylesheets instead of the bundle tempo-blazor-spreadsheet.css, which imports it. Contracts: docs/spreadsheet.md, docs/touch-interaction.md.
3. Add Toast Container to Layout
@inherits LayoutComponentBase
@implements IDisposable
@inject ThemeService ThemeService
<div data-theme="@ThemeService.ThemeName">
@Body
<TmToastContainer />
</div>
@code {
protected override void OnInitialized() => ThemeService.OnChanged += StateHasChanged;
public void Dispose() => ThemeService.OnChanged -= StateHasChanged;
}
4. Add Imports
@using Tempo.Blazor.Components.Avatars
@using Tempo.Blazor.Components.Buttons
@using Tempo.Blazor.Components.DataDisplay
@using Tempo.Blazor.Components.DataTable
@using Tempo.Blazor.Components.Dropdowns
@using Tempo.Blazor.Components.Feedback
@using Tempo.Blazor.Components.Files
@using Tempo.Blazor.Components.Forms
@using Tempo.Blazor.Components.Icons
@using Tempo.Blazor.Components.Inputs
@using Tempo.Blazor.Components.Layout
@using Tempo.Blazor.Components.Navigation
@using Tempo.Blazor.Components.Notifications
@using Tempo.Blazor.Components.Pickers
@using Tempo.Blazor.Components.Scheduler
@using Tempo.Blazor.Components.Timeline
@using Tempo.Blazor.Components.Toolbar
@using Tempo.Blazor.Components.TreeView
@using Tempo.Blazor.Components.Workflow
@using Tempo.Blazor.Interfaces
@using Tempo.Blazor.Models
@using Tempo.Blazor.Services
5. Use Components
<TmButton Variant="ButtonVariant.Primary" OnClick="HandleClick">
Click me
</TmButton>
<TmFormField Label="Name">
<TmTextInput @bind-Value="name" Placeholder="Enter your name" />
</TmFormField>
<TmDatePicker Label="Date of birth" @bind-Value="dateOfBirth" />
<TmDataTable TItem="Person" Items="people">
<TmDataTableColumn TItem="Person" Title="Name" Field="p => p.Name" Sortable />
<TmDataTableColumn TItem="Person" Title="Email" Field="p => p.Email" />
</TmDataTable>
For opt-in responsive layouts, card roles, keyboard navigation, and preserved defaults, see the data-table redesign guide.
Embedding do vaší aplikace
TmReportViewer lze vložit do běžné Blazor aplikace dvěma způsoby. Embedded režim spouští report engine v hostitelské aplikaci nad vlastním IReportDataProvider; Remote režim volá Tempo Report Server API přes RemoteReportSource.
Embedded: lokální engine a vlastní data
// Program.cs
using Tempo.Blazor.Reporting.Configuration;
builder.Services.AddTempoBlazorReporting();
builder.Services.AddScoped<MyReportDataProvider>();
@using Tempo.Blazor.Reporting.Components
@using Tempo.Blazor.Reporting.Services
@using Tempo.Reporting.Abstractions.Definitions
@inject MyReportDataProvider DataProvider
<TmReportViewer ReportSource="_source"
TenantId="northwind"
UserId="embedded-user"
CultureName="en-US" />
@code {
private IReportSource? _source;
protected override void OnInitialized()
{
ReportDefinition definition = BuildDefinition();
_source = new EmbeddedReportSource(definition, DataProvider);
}
}
Remote: Report Server API
// Program.cs
using Tempo.Blazor.Reporting.Configuration;
builder.Services.AddTempoBlazorReporting();
builder.Services.AddHttpClient("Reports", client =>
{
client.BaseAddress = new Uri("https://reports.example.com/");
client.DefaultRequestHeaders.Add("X-Api-Key", builder.Configuration["Reports:ApiKey"]);
});
@using Tempo.Blazor.Reporting.Components
@using Tempo.Blazor.Reporting.Services
@inject IHttpClientFactory HttpClientFactory
<TmReportViewer ReportSource="_source"
TenantId="northwind"
UserId="embedded-user"
CultureName="en-US" />
@code {
private IReportSource? _source;
protected override void OnInitialized()
{
_source = new RemoteReportSource(HttpClientFactory.CreateClient("Reports"), "sales-dashboard");
}
}
Na serveru musí API key mapovat na tenant/application scope s oprávněními View, Render a volitelně Export. Demo používá hlavičku X-Api-Key; pro produkci ukládejte klíč mimo klientský kód, rotujte ho přes serverovou administraci a pro WebAssembly povolte CORS jen pro známé origins.
Přidejte také reporting stylesheet:
<link href="_content/Tempo.Blazor.Reporting/css/tempo-blazor-reporting.css" rel="stylesheet" />
Tempo Report Server (self-hosted BE server)
RemoteReportSource výše cílí na Tempo Report Server — samostatný on-premises reportovací
server postavený nad hotovým Tempo rendering enginem, jako otevřená alternativa k Telerik Report
Serveru: katalog reportů s revizemi, render do PDF/XLSX/CSV/PNG přes REST, per-folder oprávnění,
API klíče, audit a plánované doručování e-mailem/do úložiště/webhookem. Běží jako dva procesy
(REST Api host + InteractiveAuto Web portál) s autentizací přes Keycloak OIDC a perzistencí
v MSSQL.
- Přehled, architektura, quickstart a stránky/komponenty: docs/report-server.md
- End-to-end tutoriál (report → nahrání přes Api → PDF → API klíč → plán e-mailem → smtp4dev): docs/report-server-tutorial.md
- Nasazení a konfigurace: docs/report-server-deployment.md
- Rozhodnutí: ADR-0001 MSSQL, ADR-0002 OIDC/Keycloak, ADR-0003 rozsah dotazu knihovny dokumentů, ADR-0004 tlačítko pro výběr souboru, ADR-0005 prezentace panelů shellu na tabletu
- Živé E2E důkazy: docs/report-server-e2e-results.md
Toast Notifications
// Inject ToastService anywhere in your components
[Inject] ToastService Toast { get; set; } = default!;
// Show notifications
Toast.ShowSuccess("Saved successfully");
Toast.ShowError("Something went wrong");
Toast.ShowWarning("Check your input");
Toast.ShowInfo("Record updated");
Document Editor Collaboration Protocol
TmDocumentEditor can synchronize live WYSIWYG edits through IDocumentCollaborationProvider. The provider boundary exchanges append-only DocumentOperationBatch payloads, not rendered HTML. Each batch carries a protocol version, a document id, stable operation ids, operation metadata, and one or more structured operations such as InsertText, DeleteText, AddInlineMark, RemoveInlineMark, InsertBlock, UpdateBlock, DeleteBlock, CreateRevision, AcceptRevision, and RejectRevision.
The live editor surface is owned by the JavaScript WYSIWYG runtime while the user is editing. Remote batches are applied through the JS runtime as DOM operations and then mirrored into the C# document model for persistence, export, suggestions, revision panels, and provider replay. Blazor does not re-render the live editor surface for successful remote operations.
SetBlockAttribute("text") is kept only as a legacy/import compatibility fallback. Rich text, formatting, images, tables, and other object changes use structured operations, most commonly UpdateBlock when a whole block payload is the safest representation. If a remote DOM patch fails, the component falls back to a full snapshot refresh so the browser DOM and the C# document model converge again.
See Document Editor JS-Owned Runtime for the runtime boundary, provider flow, undo/redo transaction rules, track changes model, and E2E test guidance.
Components
Form Controls
| Component | Description |
|---|---|
TmButton |
Button with variants (Primary, Secondary, Danger, Ghost, Link), sizes, loading state |
TmSplitButton |
Button with dropdown menu |
TmCopyButton |
Copy-to-clipboard button |
TmTextInput |
Text input with label, error, help text, prefix/suffix |
TmTextArea |
Multi-line text input with auto-resize |
TmNumberInput |
Numeric input with +/- buttons, min/max, prefix/suffix |
TmCurrencyInput |
Currency input with locale-aware formatting |
TmSelect |
Select dropdown with options |
TmMultiSelect |
Multi-value select dropdown |
TmCascadingSelect |
Hierarchical cascading select |
TmCheckbox |
Checkbox with label |
TmToggle |
Toggle switch (role="switch") |
TmRadioGroup |
Radio button group |
TmSearchInput |
Search input with debounce |
TmPasswordStrengthIndicator |
Password strength meter |
TmEntityPicker |
Async search-and-select picker for entities |
TmTagPicker |
Tag/keyword picker with suggestions |
TmExpressionEditor |
Expression editor with variable insertion |
Date & Time Pickers
| Component | Description |
|---|---|
TmDatePicker |
Calendar popup date picker |
TmTimePicker |
Time picker (hours, minutes, optional seconds) |
TmTimeInput |
Inline time input field |
TmDateTimePicker |
Combined date + time picker |
TmDateRangePicker |
Dual-calendar range picker with presets |
TmTimeRangePicker |
Time range with duration display |
TmDateTimeRangePicker |
Combined date-time range picker |
Forms
| Component | Description |
|---|---|
TmFormField |
Form field wrapper with label, validation, and help text |
TmFormRow |
Horizontal form row layout |
TmFormSection |
Grouped form section with heading |
TmInlineEdit |
Click-to-edit inline field |
TmValidatedField |
Field wrapper with FluentValidation integration |
TmValidationSummary |
Summary of all validation errors |
TmFormValidationMessage |
Per-field validation message |
TmDynamicFormRenderer |
Render forms from field definitions |
Data Display
| Component | Description |
|---|---|
TmBadge |
Status badges (Soft, Filled, Outlined) |
TmCard |
Content card with header, body, footer |
TmStatCard |
KPI statistic card with trend |
TmEmptyState |
Placeholder for empty lists |
TmAvatar / TmAvatarGroup |
User avatars with initials fallback |
TmAccordion / TmAccordionItem |
Collapsible content sections |
TmChip / TmChipGroup |
Removable chip tags |
TmChangeDiff |
Side-by-side or inline diff view |
TmMultiViewList |
Table / Card / List view switcher |
TmKanbanBoard |
Kanban board with drag & drop |
Data Table
| Component | Description |
|---|---|
TmDataTable |
Full-featured data table with sorting, filtering, grouping, pagination, selection, and column picker |
TmDataTableColumn |
Column definition with sort, filter, custom cell template, grouping, and aggregates |
TmPagination |
Standalone pagination |
TmColumnFilter |
Column filter UI |
TmColumnPicker |
Column visibility manager |
TmViewManager |
Save/load named table views |
TmBulkActionBar |
Floating bulk action toolbar |
Layout
| Component | Description |
|---|---|
TmSidebar |
Collapsible sidebar navigation |
TmTopBar |
Top navigation bar |
TmBreadcrumbs |
Breadcrumb navigation |
TmSection |
Content section with optional heading and padding |
TmToggleSection |
Collapsible section with toggle header |
TmCommandPalette |
Ctrl+K command palette |
TmKeyboardShortcutsHelp |
Keyboard shortcuts reference overlay |
TmDrawer |
Slide-in side panel |
Navigation
| Component | Description |
|---|---|
TmTabs / TmTabPanel |
Tab navigation (Line, Pill, Enclosed) |
TmContextMenu / TmContextMenuItem |
Right-click context menu |
Toolbar
| Component | Description |
|---|---|
TmToolbar |
Action toolbar container |
TmToolbarButton |
Button for use inside TmToolbar |
TmToolbarFileButton |
TmToolbar button that opens a file chooser; can move into the "More" menu |
TmToolbarDivider |
Visual separator inside TmToolbar |
Dropdowns
| Component | Description |
|---|---|
TmDropdown / TmDropdownItem |
Generic dropdown menu |
TmFilterableDropdown |
Dropdown with search/filter input |
Feedback
| Component | Description |
|---|---|
TmSpinner |
Loading spinner |
TmSkeleton |
Content skeleton placeholder |
TmAlert |
Alert banner (Info, Success, Warning, Error) |
TmDialog |
Alert / Confirm / Prompt dialog |
TmModal |
Modal overlay (5 sizes) |
TmToastContainer |
Toast notifications renderer — place once in layout |
TmProgressBar |
Progress bar (determinate, indeterminate, segmented) |
TmTooltip |
Hover tooltip |
TmPopover |
Click-triggered popover |
TmAutoSaveIndicator |
Auto-save status indicator |
Notifications
| Component | Description |
|---|---|
TmNotificationBell |
Notification bell with dropdown list |
Files & Gallery
| Component | Description |
|---|---|
TmFileDropZone |
Drag & drop file upload zone |
TmAttachmentManager |
Attachment list with upload/download/delete |
TmPdfViewer |
PDF.js v5 viewer — responsive toolbar, zoom presets + fit modes, single/continuous view modes (annotations per page in both), floating search card, document header with file size, two-way rotation, thumbnails, text layer, comment threads (docs/pdf-viewer.md) |
TmPdfAnnotator |
PDF annotator — one merged toolbar (highlight/comment/stamp/draw + color picker + undo/redo), export/print, comment threads, desktop/tablet/mobile layouts, per-page tools in Continuous (docs/pdf-viewer.md) |
TmImageGallery |
Image gallery with grid/gallery views |
TmLightbox |
Full-screen image lightbox with keyboard nav |
Filters
| Component | Description |
|---|---|
TmFilterChip |
Removable filter chip for active filter display |
TmFilterBuilder |
Dynamic query filter builder |
Activity & Collaboration
| Component | Description |
|---|---|
TmActivityLog |
Tabbed activity view (Timeline / Comments / Attachments). Forwards CommentActions, mentions, ShowInternalToggle and OnCommentSubmitted to the comments tab; defaults stay off |
TmActivityTimeline |
Reverse-chronological activity feed |
TmActivityComments |
Comment list with edit/delete, optional per-comment CommentActions, internal wash + badges, mention passthrough, optional internal composer switch, rich text editor. OnCommentSubmitted fires before OnCommentAdded |
TmActivityAttachments |
Attachment list with chunked upload |
TmRichEditorFull |
Full rich text editor (bold, italic, lists, tables, links, images, mentions) |
TmRichEditorSimple |
Simplified rich text editor; mention list is a listbox the editor controls |
Timeline
| Component | Description |
|---|---|
TmTimeline |
Standalone vertical timeline component |
Scheduler
| Component | Description |
|---|---|
TmScheduler |
Calendar with Month, Week, Day, Timeline and Agenda. The views below are what it renders; a host does not compose them. Contract: docs/scheduler.md |
@* Side panel and event detail are host slots. The panel docks on desktop, sheets on tablet and mobile. *@
<TmScheduler Events="_events"
Resources="_rooms"
ShowResourceFilter="true"
@bind-SelectedResourceIds="_resourceIds"
@bind-SelectedEvent="_selected"
@bind-SidePanelOpen="_open">
<SidePanel>
<TmCalendarView Compact="true" SelectedDate="@_day" OnDateClick="PickDay" />
</SidePanel>
<EventDetailTemplate Context="evt">
<h3>@evt.Title</h3>
<p>@evt.StartLocal.ToString("g")</p>
</EventDetailTemplate>
</TmScheduler>
@* Mobile action bar is opt-in (default None). Auto renders it only under a 640px container. *@
<TmScheduler Events="_events" MobileActionBar="TmSchedulerMobileActionBar.Auto" />
@* Ranges: Timeline is one day, Agenda spans AgendaDays (default 30). LayoutMode pins a layout for tests. *@
<TmScheduler View="TmScheduleViewType.Agenda" AgendaDays="14"
FirstDayOfWeek="1" LayoutMode="TmLayoutMode.Desktop" />
Keyboard alternative to drag (WCAG 2.5.7): Alt+arrow moves the event, Alt+Shift+arrow resizes its
end. A plain arrow stays the roving key of the grid. Touch move is a 400 ms long-press
(pointer-drag.js, loaded by scheduler.js). ShowTouchHint (default false) opts into the
localized hint, shown only on a coarse pointer.
Gantt
| Component | Description |
|---|---|
TmGantt |
Tree grid + zoomable timeline chart: dependencies, baselines, workload, filtering, import/export, history, reports. Contract: docs/gantt.md |
TmGanttPortfolio |
Portfolio of project cards, each an embedded toolbar-less Gantt |
TmGanttWorkloadView |
The workload week (person rows, utilization bars); alternate view or docked panel |
@* The chart measures its own container (LayoutMode, default Auto): tablet gets a two-row toolbar
and a tabbed side-sheet task panel; a mobile container is read-mostly (viewing, status / %,
add task). Pin a layout only for tests or a forced presentation. *@
<TmGantt Items="tasks"
DependencyItems="deps"
@bind-View="_view"
SelectedTask="_selected"
OnTaskSelected="t => _selected = t"
OnTaskUpdated="SaveTask"
TaskPanelMode="GanttTaskPanelMode.Auto"
ShowQuickSearch="true"
Title="Project Aurora">
<HeaderActions><TmButton>Share</TmButton></HeaderActions>
</TmGantt>
Keyboard alternative to drag (WCAG 2.5.7): the treegrid has one roving tab stop (↑ ↓ Home End,
→ expand, ← collapse, Enter opens the panel) and Alt+↑/↓ reorders a row. Touch: a 500 ms
long-press opens the context menu, the dependency drag and the mouse-only pan are sessions of
pointer-drag.js loaded by gantt.js (serve the whole _content/Tempo.Blazor/js/ folder).
Import & Export
| Component | Description |
|---|---|
TmImportWizard / TmImportWizardStep |
Step-by-step data import wizard |
TmImportPreview |
Preview imported data before confirming |
TmExportOptions |
Export format and options dialog |
Advanced
| Component | Description |
|---|---|
TmChart |
SVG charts (Bar, Line, Pie, Donut, HorizontalBar) |
TmDashboard |
Widget dashboard with drag/resize grid (docs/dashboard.md) |
TmTreeView |
Hierarchical tree with lazy loading |
TmStepper |
Step-by-step wizard/progress stepper |
TmWorkflowDesignerCanvas |
Visual workflow editor (drag nodes, draw transitions, zoom/pan) |
TmIcon |
SVG icon with extensible registry |
Localization
Built-in support for English, Czech, Slovak and French. Override with your own ITmLocalizer:
builder.Services.AddTempoBlazor();
builder.Services.AddSingleton<ITmLocalizer, MyLocalizer>();
Set culture:
var culture = new CultureInfo("cs");
CultureInfo.DefaultThreadCurrentCulture = culture;
CultureInfo.DefaultThreadCurrentUICulture = culture;
Theming
Dark Mode
ThemeService is automatically registered by AddTempoBlazor(). Subscribe to OnChanged in your layout to re-render when the theme changes:
@inherits LayoutComponentBase
@implements IDisposable
@inject ThemeService ThemeService
<div data-theme="@ThemeService.ThemeName">
<button @onclick="ThemeService.Toggle">Toggle theme</button>
@Body
</div>
@code {
protected override void OnInitialized() => ThemeService.OnChanged += StateHasChanged;
public void Dispose() => ThemeService.OnChanged -= StateHasChanged;
}
Custom Tokens
Override CSS custom properties to match your brand:
:root {
--tm-color-primary: #your-brand-color;
--tm-color-primary-hover: #your-hover-color;
--tm-font-sans: 'Inter', sans-serif;
--tm-radius-md: 8px;
}
FluentValidation
dotnet add package Tempo.Blazor.FluentValidation
// Program.cs — auto-scan assemblies for validators
builder.Services.AddTempoFluentValidation(typeof(MyValidator).Assembly);
@using Tempo.Blazor.FluentValidation
<EditForm Model="model" OnValidSubmit="Submit">
<FluentValidationValidator />
<TmFormField Label="Name">
<TmTextInput @bind-Value="model.Name" />
</TmFormField>
</EditForm>
FluentValidationValidator is provided by Tempo.Blazor.FluentValidation and wires up all registered IValidator<T> instances to the EditContext.
Data Providers
Reference Tempo.Blazor.Abstractions from your API/service project to implement server-side data:
public class PersonDataProvider : IDataTableDataProvider<Person>
{
public async Task<PagedResult<Person>> GetDataAsync(DataTableQuery query, CancellationToken ct = default)
{
// query.Page, query.PageSize — paging (1-based)
// query.SortColumn, query.SortDescending — sorting
// query.Filters — column filter predicates
// query.SearchText — global search
// query.GroupByColumns — server-side grouping
}
}
Available provider interfaces (all in Tempo.Blazor.Interfaces):
IDataTableDataProvider<TItem>— server-side table data with paging, sorting, filtering, groupingIDropdownDataProvider<TItem>— async dropdown/entity picker searchIImageGalleryDataProvider— gallery images with ticket-based URLsIFileAttachmentProvider— attachment CRUD with chunked uploadIDataTableViewProvider— saved table views (personal/tenant scoped)IDashboardProvider— dashboard configuration persistenceIWidgetRegistry— dashboard widget definitionsIScheduleDataProvider— server-side scheduler events by date rangeIMentionDataProvider— user mention suggestions in rich editors
Custom Icons
// Register an inline SVG path (content inside <svg> tags)
IconRegistry.Register("my-icon", "<path d='M12 2L2 22h20L12 2z'/>");
// Or implement IIconProvider for batch registration
IconRegistry.RegisterProvider(new MyIconProvider());
<TmIcon Name="my-icon" Size="IconSize.Lg" Color="IconColor.Primary" />
Requirements
- .NET 8, 9, or 10
- Blazor WebAssembly, Server, or InteractiveAuto
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.AspNetCore.Components.Web (>= 10.0.3)
- Tempo.Blazor (>= 2.12.0)
- Tempo.Blazor.DiagramEditor (>= 2.12.0)
-
net8.0
- Microsoft.AspNetCore.Components.Web (>= 8.0.12)
- Tempo.Blazor (>= 2.12.0)
- Tempo.Blazor.DiagramEditor (>= 2.12.0)
-
net9.0
- Microsoft.AspNetCore.Components.Web (>= 9.0.3)
- Tempo.Blazor (>= 2.12.0)
- Tempo.Blazor.DiagramEditor (>= 2.12.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Tempo.Blazor.Modeling:
| Package | Downloads |
|---|---|
|
Tempo.Blazor.All
Compatibility package for Tempo.Blazor that references the core package and split feature packages for applications that want the full component suite. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.12.0 | 107 | 11/20/2026 |
| 2.11.1 | 123 | 11/15/2026 |
| 2.11.0 | 112 | 11/14/2026 |
| 2.9.0 | 281 | 9/27/2026 |
| 2.8.26 | 245 | 9/13/2026 |
| 2.8.25 | 124 | 9/12/2026 |
| 2.8.24 | 138 | 8/26/2026 |
| 2.8.23 | 139 | 8/26/2026 |
| 2.8.22 | 135 | 8/26/2026 |
| 2.8.21 | 152 | 8/23/2026 |
| 2.8.20 | 149 | 8/22/2026 |
| 2.8.19 | 138 | 8/19/2026 |
| 2.8.18 | 136 | 8/18/2026 |
| 2.8.16 | 134 | 8/12/2026 |
| 2.8.14 | 136 | 8/9/2026 |
| 2.8.13 | 135 | 8/9/2026 |
| 2.8.12 | 139 | 8/8/2026 |
| 2.8.11 | 138 | 8/8/2026 |
| 2.8.10 | 127 | 8/7/2026 |
| 2.8.9 | 137 | 8/7/2026 |