Tablazor 0.6.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Tablazor --version 0.6.0
                    
NuGet\Install-Package Tablazor -Version 0.6.0
                    
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="Tablazor" Version="0.6.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Tablazor" Version="0.6.0" />
                    
Directory.Packages.props
<PackageReference Include="Tablazor" />
                    
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 Tablazor --version 0.6.0
                    
#r "nuget: Tablazor, 0.6.0"
                    
#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 Tablazor@0.6.0
                    
#: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=Tablazor&version=0.6.0
                    
Install as a Cake Addin
#tool nuget:?package=Tablazor&version=0.6.0
                    
Install as a Cake Tool

Tablazor

A Blazor component library built on the Tabler UI kit.

Features

  • Multi-Target Support - Supports .NET 8.0, 9.0, and 10.0
  • Tabler Design System - Beautiful, consistent UI components based on Tabler
  • Blazor Native - Built specifically for Blazor with full component lifecycle support
  • Accessible - Components support ARIA attributes and keyboard navigation
  • 4000+ Icons - Includes the complete Tabler Icons set

Installation

dotnet add package Tablazor

Quick Start

  1. Add the Tabler CSS to your App.razor or index.html:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tabler/core@latest/dist/css/tabler.min.css">
  1. Add the namespace to your _Imports.razor:
@using Tablazor.Components
@using Tablazor.Enums
  1. Use components in your Blazor pages:
<TabBadge Color="TabColors.Primary">New</TabBadge>

<TabAvatar ImageUrl="https://example.com/avatar.jpg" />

<TabAvatarList Stacked="true">
    <TabAvatar ImageUrl="..." />
    <TabAvatar ImageUrl="..." />
    <TabAvatar>+3</TabAvatar>
</TabAvatarList>

Components

Badge

Small count and labeling components for adding extra information to interface elements.

<TabBadge>Default</TabBadge>
<TabBadge Color="TabColors.Success">Success</TabBadge>
<TabBadge Color="TabColors.Primary" Shape="BadgeShape.Pill">Pill</TabBadge>
<TabBadge Color="TabColors.Info" Size="BadgeSize.Large">Large</TabBadge>
<TabBadge Color="TabColors.Warning" Href="/notifications">Link Badge</TabBadge>

Parameters: | Parameter | Type | Default | Description | |-----------|------|---------|-------------| | Color | TabColors | Default | Badge color | | Shape | BadgeShape | Default | Badge shape (Default, Pill) | | Size | BadgeSize | Default | Badge size (Small, Default, Large) | | Href | string? | null | URL to render badge as a link | | Visible | bool | true | Whether the badge is visible |

Avatar

User profile images and placeholders for personalizing the interface.

<TabAvatar ImageUrl="https://example.com/user.jpg" />
<TabAvatar Color="TabColors.Primary">JD</TabAvatar>
<TabAvatar Color="TabColors.Success" Icon="user" />
<TabAvatar ImageUrl="..." Size="AvatarSize.Large" StatusColor="TabColors.Success" />

Parameters: | Parameter | Type | Default | Description | |-----------|------|---------|-------------| | ImageUrl | string? | null | URL of the avatar image | | Color | TabColors | Default | Background color for text/icon avatars | | Size | AvatarSize | Default | Avatar size (ExtraSmall, Small, Default, Large, ExtraLarge) | | Shape | AvatarShape | Default | Avatar shape (Default, Round, Square) | | Icon | string? | null | Icon name to display | | StatusColor | TabColors | Default | Color of status indicator badge | | Visible | bool | true | Whether the avatar is visible |

Avatar List

Group multiple avatars together, with optional stacking for overlapping display.

<TabAvatarList>
    <TabAvatar ImageUrl="..." />
    <TabAvatar ImageUrl="..." />
</TabAvatarList>

<TabAvatarList Stacked="true">
    <TabAvatar ImageUrl="..." />
    <TabAvatar ImageUrl="..." />
    <TabAvatar>+5</TabAvatar>
</TabAvatarList>

Parameters: | Parameter | Type | Default | Description | |-----------|------|---------|-------------| | Stacked | bool | false | Display avatars as overlapping stack | | Visible | bool | true | Whether the list is visible |

Common Parameters

All components inherit from TabBaseComponent and share these parameters:

Parameter Type Default Description
CssClass string? null Additional CSS classes
Style string? null Inline CSS styles
Visible bool true Whether the component renders
Disabled bool false Whether the component is disabled

Components also support attribute splatting for additional HTML attributes.

Development

Prerequisites

  • .NET 10.0 SDK

Build

dotnet build src/Tablazor.sln

Run Tests

dotnet test src/Tablazor.sln

Run Demo Site

dotnet run --project src/Tablazor.DemoSite

The demo site runs at https://localhost:7170

Project Structure

src/
├── Tablazor/                    # Main component library
│   └── Tablazor/
│       ├── Components/          # Razor components
│       ├── Enums/               # Color, size, shape enumerations
│       ├── Attributes/          # Custom validation attributes
│       └── Icons/               # Tabler Icons (4000+)
├── Tablazor.DemoSite/           # Demo and documentation site
tests/
└── Tablazor.Tests/              # Unit tests (xUnit + bUnit)

License

[Add your license here]

Product 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. 
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
0.9.0 122 3/30/2026
0.8.9 122 3/29/2026
0.8.5 125 3/28/2026
0.6.1 115 2/17/2026
0.6.0 116 2/17/2026
0.5.1-beta 110 2/9/2026

Tablazor - A Blazor component library based on the Tabler.io CSS Framework.