MgLibrary Overview
A comprehensive, professional-grade Blazor component library built with Tailwind CSS.
Use this example to explore default behavior, customization points, and accessibility-friendly patterns in a real Blazor page.
The Blazor Library provides a set of high-quality, customizable UI components that help you build modern web applications faster.
- Built on Material Design 3 principles.
- Fully responsive and themeable.
- Extensive API and documentation.
Theme Palette
About MgLibrary
MgLibrary is designed to accelerate building modern Blazor applications by providing a thoughtfully curated set of UI components, utilities, and companion packages that emphasize accessibility, flexibility, and performance. The library blends Material Design principles with Tailwind CSS-based utility classes so components are visually consistent by default yet simple to customize. Components range from foundational building blocks—buttons, inputs, and layout primitives—to higher-level patterns such as form controls, responsive navigation, and data presentation components that handle common scenarios out of the box.
The toolkit is organized around three core goals: developer productivity, predictable behavior, and integration friendliness. Developer productivity comes from a clear API surface and example-first documentation that demonstrates typical usage patterns and accessibility considerations. Predictable behavior is achieved through thorough unit tests and design patterns that encourage immutability and single-responsibility components. Integration friendliness means the components play well with existing Blazor state management approaches, server-side rendering, and common JavaScript interop scenarios.
The library is distributed via NuGet as MgLibrary.UI with lightweight runtime dependencies. For broader application architecture, the Memgroups ecosystem includes MgResultPattern for functional-style error handling, MgMediator for decoupled message orchestration, and MgStateManager for predictable and testable client state management. These companion packages are intentionally focused and composable so you can adopt what you need without pulling in unnecessary complexity.
Customization is straightforward: themes are expressed as CSS variables and Tailwind tokens, enabling runtime theme switching and per-application branding. Accessibility is a first-class concern—components follow the WAI-ARIA authoring practices, include keyboard support, and expose semantic roles and labels to make integration with assistive technologies more reliable. Performance optimizations favor minimal DOM updates, virtualization for large lists, and optional JS interop only where necessary.
For teams, the library provides patterns for theming, composition, and testing that make it easy to enforce a consistent UI surface across products. Documentation includes live examples, code snippets, and migration guidance so upgrading between major versions is predictable. Contributors are encouraged to open issues and pull requests; the project maintains contribution guidelines to keep PRs focused and reviewable.
In short, MgLibrary is not just a set of components but an opinionated toolkit that helps teams ship accessible, resilient, and maintainable Blazor apps faster. Whether building internal tools, public products, or design systems, the library and its companion packages provide pragmatic defaults while allowing deep customization when required.
Licensing
MgLibrary is committed to supporting individuals and small businesses while maintaining sustainable development.
The software is free for personal and commercial use by individuals and organizations with total assets under $1,000,000.
Free license users may not modify the software without permission, and it cannot be resold or bundled into other retail libraries.
For commercial licensing or modification requests, please contact Memgroups.
Other Nuget Packages
The Memgroups ecosystem includes specialized packages to help you build robust, maintainable applications with clean architecture.
MgResultPattern
A robust implementation of the Result pattern for clean, predictable error handling and functional flow in your business logic.
MgMediator
Lightweight mediator pattern implementation for decoupled, message-based communication between your application components.
MgStateManager
Efficient state management solution designed for Blazor, helping you manage complex application state with minimal boilerplate.