BlazorX.Components 1.3.2

dotnet add package BlazorX.Components --version 1.3.2
                    
NuGet\Install-Package BlazorX.Components -Version 1.3.2
                    
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="BlazorX.Components" Version="1.3.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BlazorX.Components" Version="1.3.2" />
                    
Directory.Packages.props
<PackageReference Include="BlazorX.Components" />
                    
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 BlazorX.Components --version 1.3.2
                    
#r "nuget: BlazorX.Components, 1.3.2"
                    
#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 BlazorX.Components@1.3.2
                    
#: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=BlazorX.Components&version=1.3.2
                    
Install as a Cake Addin
#tool nuget:?package=BlazorX.Components&version=1.3.2
                    
Install as a Cake Tool

BlazorX Components

BlazorX .NET 8 .NET 9 License Bootstrap

A modern, high-performance Blazor component library built on Bootstrap 5

DocumentationInstallationComponentsExamples


📋 Table of Contents


🎯 About

BlazorX is a comprehensive component library for Blazor applications, built on top of the Bootstrap 5 CSS framework. It provides a rich set of interactive, accessible, and highly customizable components designed to accelerate your Blazor development.

Why BlazorX?

  • Modern Architecture - Built with the latest .NET 8 and .NET 9
  • 🎨 Bootstrap 5 Integration - Seamlessly integrates with Bootstrap styling
  • Accessibility First - ARIA-compliant components for inclusive applications
  • 🚀 Performance Optimized - Efficient rendering and minimal overhead
  • 🔧 Highly Customizable - Extensive API for tailoring components to your needs
  • 📦 Zero JavaScript - Pure C# and Blazor implementation

✨ Features

  • Framework Support: .NET 8 and .NET 9
  • Generic Type Support: Works with string, int, Guid, enum, and custom types
  • Form Integration: Full support for Blazor's EditForm and validation
  • Event System: Rich event callbacks for component lifecycle
  • Keyboard Navigation: Comprehensive keyboard support for accessibility
  • Responsive Design: Mobile-friendly components that adapt to screen sizes
  • Theming: Built on Bootstrap 5 for easy customization

📦 Installation

Install BlazorX via NuGet Package Manager:

.NET CLI

dotnet add package BlazorX.Components --version 1.1.46

Package Manager Console

Install-Package BlazorX.Components -Version 1.1.46

PackageReference

<PackageReference Include="BlazorX.Components" Version="1.1.46" />

🚀 Quick Start

  1. Install the package (see Installation)

  2. Add namespace to _Imports.razor:

@using BlazorX.Components
  1. Start using components:
<Select  TValue="string" 
         Items="@items" 
         @bind-Value="@selectedValue" 
         Placeholder="Choose an option..." />

🧩 Components

Select

A feature-rich dropdown/select component with single and multi-selection support.

Features:

  • ✅ Single & Multi-Selection
  • ✅ Generic Type Support (string, int, Guid, enum, custom types)
  • ✅ Search/Filter with configurable threshold
  • ✅ Keyboard Navigation (Arrow keys, Enter, Escape, Home, End)
  • ✅ Disabled States (component and individual options)
  • ✅ Clear Button
  • ✅ Rich Event System (OnOpening, OnOpened, OnClosing, OnClosed, OnClearing, OnCleared)
  • ✅ Form Validation Support
  • ✅ ARIA Accessibility
  • ✅ Custom Styling Options

Example:

@using BlazorX.Components

<Select  TValue="string"
         Items="@countries"
         @bind-Value="@selectedCountry"
         Placeholder="Select a country..."
         AllowClear="true"
         MinimumResultsForSearch="0" />

@code {
    private string? selectedCountry;
    private List<SelectOption<string>> countries = new()
    {
        new() { Id = "us", Text = "United States" },
        new() { Id = "uk", Text = "United Kingdom" },
        new() { Id = "ca", Text = "Canada" }
    };
}

AutoComplete

Smart autocomplete input component with local and remote data support.

Features:

  • ✅ Local Data Source Support
  • ✅ Remote Data Source (API Integration)
  • ✅ Debounced Search
  • ✅ Minimum Character Threshold
  • ✅ Keyboard Navigation
  • ✅ Custom Result Templates
  • ✅ Loading States

Example:

@using BlazorX.Components

<AutoComplete @bind-Value="searchText" 
               SelectList="searchOptions" 
               ExternalDataRequest="FetchData"
               Placeholder="Start typing..." />

@code {
    private string searchText = string.Empty;
    private List<string> searchOptions = new();

    async Task<List<string>> FetchData(string keyword)
    {
        // Fetch from API or local source
        return searchOptions
            .Where(x => x.Contains(keyword, StringComparison.OrdinalIgnoreCase))
            .ToList();
    }
}

PasswordMeter

Visual password strength indicator component.

Features:

  • ✅ Real-time Strength Calculation
  • ✅ Visual Feedback
  • ✅ Customizable Strength Rules
  • ✅ Color-coded Indicators
  • ✅ Accessibility Support

Example:

@using BlazorX.Components

<PasswordMeter @bind-Value="password" />

@code {
    private string password = string.Empty;
}

Examples

Comprehensive examples are available in the Samples project.

API Reference

Full API documentation is available in XML documentation within the source code.


📄 License

This project is licensed under the MIT License. See the LICENSE file for details.


👨‍💻 Developer

Ahmed Aboelmagd


🌟 Support

If you find this project useful, please consider:

  • 🐛 Reporting bugs
  • 💡 Suggesting new features
  • 📖 Improving documentation

Built with ❤️ using Blazor and Bootstrap

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 was computed.  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
1.3.2 129 2/12/2026
1.3.1 121 2/12/2026
1.2.1 130 2/1/2026
1.1.46 119 1/28/2026
1.0.43 310 5/10/2023
1.0.42 274 5/10/2023
1.0.41 279 5/1/2023
1.0.4 286 5/1/2023

Updated to support .NET 8 and .NET 9