TheNerdCollective.MudComponents
0.3.0
Made by mistake
See the version list below for details.
dotnet add package TheNerdCollective.MudComponents --version 0.3.0
NuGet\Install-Package TheNerdCollective.MudComponents -Version 0.3.0
<PackageReference Include="TheNerdCollective.MudComponents" Version="0.3.0" />
<PackageVersion Include="TheNerdCollective.MudComponents" Version="0.3.0" />
<PackageReference Include="TheNerdCollective.MudComponents" />
paket add TheNerdCollective.MudComponents --version 0.3.0
#r "nuget: TheNerdCollective.MudComponents, 0.3.0"
#:package TheNerdCollective.MudComponents@0.3.0
#addin nuget:?package=TheNerdCollective.MudComponents&version=0.3.0
#tool nuget:?package=TheNerdCollective.MudComponents&version=0.3.0
The Nerd Collective - Components Library
A comprehensive collection of production-ready Blazor components for .NET 10+ applications. This library includes both generic .NET components and MudBlazor-specific components.
Component Categories
MudComponents
UI components built specifically for MudBlazor 8.15+, providing seamless integration with MudBlazor's design system.
- MudQuillEditor - A rich-text editor component powered by Quill 2.0
Components
Generic .NET utilities and helper components for building robust Blazor applications.
More utilities coming soon.
MudQuillEditor Features
- Two-way Data Binding - Use
@bind-Valuefor seamless data synchronization - Automatic Dark/Light Theme Support - Adapts to MudBlazor theme changes
- Customizable Height - Configure MinHeight and MaxHeight
- Configurable Toolbar - Enable/disable formatting features dynamically
- Placeholder Text - Guide users with custom placeholder messages
- Read-Only Mode - Display content without editing capabilities
- Auto-loads Quill from CDN - No bundling needed, handles dependencies automatically
- Full Async/Await Support - Modern async APIs throughout
- Interactive Playground - Live demo with configuration testing
Installation
NuGet Packages
Install the main component library:
dotnet add package TheNerdCollective.Components
Or install individual components:
MudComponents
dotnet add package TheNerdCollective.MudComponents.MudQuillEditor
MudQuillEditor Setup
MudQuillEditor Setup
Step 1: Add Script Reference
In your App.razor, add the MudQuillEditor script reference before the Blazor runtime script:
<head>
<script src="_content/TheNerdCollective.MudComponents.MudQuillEditor/js/mudquilleditor.js"></script>
</head>
<body>
<script src="_framework/blazor.server.js"></script>
</body>
Requirements:
- MudBlazor must be installed and configured
- MudQuillEditor automatically loads Quill CSS/JS from jsDelivr CDN
- No additional setup needed
Step 2: Import the Component
Add to your _Imports.razor:
@using TheNerdCollective.MudComponents.MudQuillEditor
Usage - MudQuillEditor
Basic Example
<MudQuillEditor @bind-Value="HtmlContent"
MinHeight="300px"
MaxHeight="300px"
Placeholder="Enter your content here..." />
@code {
private string HtmlContent { get; set; } = "<p>Hello from MudQuillEditor</p>";
}
Advanced Configuration
<MudQuillEditor @bind-Value="Content"
ReadOnly="@IsReadOnly"
Placeholder="@EditorPlaceholder"
MinHeight="200px"
MaxHeight="500px"
Toolbar="@GetToolbar()" />
@code {
private string Content = "";
private bool IsReadOnly = false;
private string EditorPlaceholder = "Type something...";
private object? GetToolbar()
{
return new object[]
{
new[] { "bold", "italic", "underline" },
new[] { new { list = "ordered" }, new { list = "bullet" } },
new[] { "link", "image" }
};
}
}
Component Parameters - MudQuillEditor
| Parameter | Type | Default | Description |
|---|---|---|---|
Value |
string? |
null | HTML content of the editor |
ValueChanged |
EventCallback<string?> |
— | Fires when editor content changes (two-way binding) |
MinHeight |
string? |
null | Minimum editor height (CSS value, e.g., "150px") |
MaxHeight |
string |
"150px" | Maximum editor height (CSS value, e.g., "300px") |
Theme |
string |
"snow" | Quill theme name ("snow" or "bubble") |
ReadOnly |
bool |
false | Disable editing when true |
Toolbar |
object? |
Default | Customizable toolbar modules (bold, italic, underline, lists, link, image) |
Placeholder |
string? |
null | Placeholder text shown when editor is empty |
Component Methods - MudQuillEditor
| Method | Returns | Description |
|---|---|---|
SetHtmlAsync(string? html) |
Task |
Set editor content programmatically |
GetHtmlAsync() |
Task<string?> |
Get editor content programmatically |
Demo Application
A fully-featured demo app is included with:
- Interactive Playground - Test features with live preview
- Theme Switching - See dark/light mode support
- Configuration Testing - Experiment with different settings
- Installation Guide - Complete setup instructions
Run the demo:
cd TheNerdCollective.MudQuillEditor.Demo
dotnet run
Then visit https://localhost:5001 in your browser.
Toolbar Configuration - MudQuillEditor
The toolbar can be customized by passing an array of modules:
// Minimal toolbar
var toolbar = new object[]
{
new[] { "bold", "italic" }
};
// Full toolbar
var toolbar = new object[]
{
new[] { "bold", "italic", "underline" },
new[] { new { list = "ordered" }, new { list = "bullet" } },
new[] { "link", "image" },
new[] { "blockquote", "code-block" }
};
License
Licensed under the Apache License 2.0. See LICENSE file for details.
Copyright © 2025 The Nerd Collective Aps
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Support
For issues, feature requests, or questions:
- 🐛 GitHub Issues
- 💬 GitHub Discussions
- 📧 Contact: The Nerd Collective
Built by
Developed by janhjordie
MudQuillEditor is a production-ready component we use for our customers' applications. It combines the power of Quill 2.0 with MudBlazor's beautiful design system.
Documentation
For detailed documentation and interactive demos, visit the online demo application.
Built with ❤️ by The Nerd Collective Aps
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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
- MudBlazor (>= 8.15.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on TheNerdCollective.MudComponents:
| Package | Downloads |
|---|---|
|
TheNerdCollective.Components
The Nerd Collective component library for MudBlazor. Includes rich-text editor and other reusable components. |
GitHub repositories
This package is not used by any popular GitHub repositories.