Every component, running live.
Every tile is a real component running in your browser through WebAssembly, organised by daisyUI's own taxonomy. Click through for examples, source, a playground and the API.
- Cart
- Shipping
- Payment
54 charts, every one in your theme.
From line and bar to Sankey, treemaps, candlesticks, calendars and maps. D3 computes the layout, Razor draws the SVG in theme colours, and the server package can send the finished chart in the first HTML.
- Sankey
Chart - Treemap
Chart - Candlestick
Chart - CalendarHeatmap
- Sunburst
Chart - Waterfall
Chart - Radar
Chart - Violin
Chart - Chord
Chart - Gauge
Chart - Stream
Chart - ChoroplethMap
Try every parameter.
Most component pages, and the main charts, carry a playground. Its controls are built from DaisyBlazor's own inputs, generated from the component's parameters, and the Razor underneath rewrites itself as you go. Copy it once it looks right.
Playground
<Button
Color="Color.Primary"
Variant="Variant.Filled">
Save changes
</Button>37 themes, one switch.
Every daisyUI theme ships in the preset, plus two of our own. Click one: this whole site switches, and your app
does the same through ThemeProvider.
Leave MudBlazor one rename at a time.
The same parameter names, the same Color, Variant
and Size enums, Icons.Material.*,
IDialogService and ISnackbar. Move a page,
ship it, move the next.
<MudButton Color="Color.Primary"
Variant="Variant.Filled"
StartIcon="@Icons.Material.Filled.Download"
OnClick="Save">
Download
</MudButton><Button Color="Color.Primary"
Variant="Variant.Filled"
StartIcon="@Icons.Material.Filled.Download"
OnClick="Save">
Download
</Button>No Node. No npm.
The NuGet package carries the preset (daisyUI, the themes, a safelist of every class the components emit) and can run the Tailwind standalone CLI on build. One property in your project file, one import in your stylesheet. This site builds its own CSS exactly that way.
How the preset works<PackageReference Include="DaisyBlazor.Components" Version="*" />
<PropertyGroup>
<DaisyBlazorBuildCss>true</DaisyBlazorBuildCss>
</PropertyGroup>@import "tailwindcss";
@import "../obj/daisyblazor/preset.css";dotnet buildDaisyBlazor: tailwindcss -i Styles/main.css -o wwwroot/css/app.cssBuild succeeded.