BlazorAddons 0.3.9-alpha
See the version list below for details.
dotnet add package BlazorAddons --version 0.3.9-alpha
NuGet\Install-Package BlazorAddons -Version 0.3.9-alpha
<PackageReference Include="BlazorAddons" Version="0.3.9-alpha" />
paket add BlazorAddons --version 0.3.9-alpha
#r "nuget: BlazorAddons, 0.3.9-alpha"
// Install BlazorAddons as a Cake Addin
#addin nuget:?package=BlazorAddons&version=0.3.9-alpha&prerelease
// Install BlazorAddons as a Cake Tool
#tool nuget:?package=BlazorAddons&version=0.3.9-alpha&prerelease
Disclaimer: This is a hobby project and I can't guarentee robustness of the components or future bug fixes. Use at your own risk. If anything here is of interest for use in a production environment, forking may be a better option.
Blazor Addons
This repository holds a few custom blazor components.
Installation
Add the following to index.html (client-side) or _Host.cshtml (server-side)
<link rel="stylesheet" href="_content/BlazorAddons/styles.css" />
Add the following to _Imports.razor
@using BlazorAddons
Components
FileUpload
This component seeks to fix a flaw in the file upload provided by base Blazor, and all 3rd party components base off it - namely the inability to upload files in multiple batches. The built-in file upload component only allows uploading the most recent batch of files to be added by the user.
This component has basic validation and file management (delete and rename). It was created to be easily configurable by inheriting from it and FileRender and replacing only the needed rendering. It also supports reporting download progress.
Model
a wrapper for the <dialog>
HTML component that adds the ability to close if you click outside the modal.
Overlay
This component is opens a popover. It allows positioning relative to the parent element or the viewport and supports auto flipping X/Y if there's more room on the other side. It can have an arrow or not.
Tooltip
A simple tooltip that uses Overlay.
Other features
Both Modal and Overlay support opening such that a task is returned which will be resolved to cancled or a result when it is closed.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. 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. |
-
net6.0
- Microsoft.AspNetCore.Components.Web (>= 6.0.28)
-
net7.0
- Microsoft.AspNetCore.Components.Web (>= 7.0.17)
-
net8.0
- Microsoft.AspNetCore.Components.Web (>= 8.0.3)
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 |
---|---|---|
0.4.0-alpha | 42 | 4/29/2024 |
0.3.9-alpha | 79 | 4/22/2024 |
0.3.6-alpha | 43 | 4/11/2024 |
0.3.4-alpha | 47 | 4/9/2024 |
0.3.3-alpha | 57 | 4/7/2024 |
0.3.1-alpha | 50 | 4/5/2024 |
0.3.0-alpha | 55 | 4/4/2024 |
0.2.4-alpha | 61 | 3/30/2024 |
An early release of the FileUpload component.