Skip to content

DaisyBlazor

A Tailwind CSS v4 + daisyUI v5 component library for Blazor — 60+ components, parameter-driven theming, and dependency-free charts.

Blazor developers who want modern Tailwind/daisyUI styling typically face three friction points: MudBlazor lock-in when they’re already invested in a Material component set, the absence of native daisyUI components for Blazor, and the manual wiring of Tailwind builds and theming. DaisyBlazor closes that gap with 60+ daisyUI components, a MudBlazor-compatible migration path (mostly a MudXX rename), a one-import CSS preset that configures Tailwind and daisyUI for you, and parameter-driven theming with 35 themes. It also ships dependency-free SVG charts that follow your active daisyUI theme automatically — no JS interop required.

Components

60+ daisyUI v5 components wrapped as Blazor components — actions, data display, navigation, feedback, data input, layout, and mockups. Browse the reference.

Charts

Dependency-free SVG charts (line, area, bar, pie, donut, sparkline) computed in C#, theme-aware with no JS. See charts.

Theming

Parameter-driven ThemeProvider with dark mode, persistence, and 35 built-in daisyUI themes. Read theming.

MudBlazor-compatible

Migrate incrementally — shared enums, icons, IDialogService, and ISnackbar keep working after a MudXX rename. Migration guide.

CSS preset

A single preset.css enables the daisyUI plugin, registers themes, and safelists C#-computed classes. CSS preset.

dotnet template

Scaffold a fully-wired Blazor app — dotnet new daisyblazor sets up Tailwind, daisyUI, and providers for you. Get started.

DaisyBlazor home page showcasing daisyUI components
The DaisyBlazor demo home — daisyUI components themed via ThemeProvider.
DaisyBlazor dependency-free SVG charts following the daisyUI theme
Dependency-free SVG charts from DaisyBlazor.Charts, colored by daisyUI theme tokens.