OptionA.Blazor.Components.Direct 9.2.3

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

OptionA.Blazor.Components.Direct

Blazor components for use in your Blazor website, base set for the full components, but these components do not require setup to use.

For full documentation, releasenotes and examples, go to option-a.tech. To full source can be viewed on github.

Getting started

To start using the OptionA.Blazor.Components.Direct, use the components provided by the package in your application. For styling all components have an "opta-[component-name]" attribute, or you can use the parameters on a percomponent basis (see below)

Latest release notes

9.0.1

Overall

Update to .NET 9

New features
  • Added generic radio select components
Solved Bugs
  • none

Components

Following are the currently supported components. For all components there is a Parameter AdditionalClasses to provide specific classes for that single component. RemovedClasses to remove default classes (set by the config) for that single component, and an Attributes parameter to set additional required attributes to that single component.

Direct input
<OptAInputInteger>
<OptAInputText>
<OptAInputTextArea>
<OptAInputRadioGroup>

These components are implementations of the the default microsoft Microsoft.AspNetCore.Components.Forms input classes. But binds the change event to oninput instead of onchange (when it looses focus). Also wraps them in the default OptAComponent for consistancy with other components. The textarea components optionally supports AutoGrow to grow when the content changes (note: when using custom css, for instance bootstrap for the input, the mask used for the autogrow might need additional setup) for instance, for the bootstrap form-control the following css is needed to make sure the autogrow maps as expected:

[auto-grow]::after {
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    width: 100%;
}
Enum select
<OptAEnumSelect>

Implementation of the microsoft Microsoft.AspNetCore.Components.Forms.InputSelect, but passed with a generic Enum, gives a select with all the enum values. Also supports giving dictionaries for mapping displaynames or option titles to customize.

Select
<OptASelect>

Implementation of the microsoft Microsoft.AspNetCore.Components.Forms.InputSelect, but passed with a generic type, gives a select with all the passed values. Also supports giving functions for mapping displaynames or option titles to customize and ordering.

Product Compatible and additional computed target framework versions.
.NET 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 (2)

Showing the top 2 NuGet packages that depend on OptionA.Blazor.Components.Direct:

Package Downloads
OptionA.Blazor.Components

Blazor component library with various component for use inside your Blazor application

OptionA.Blazor.Blog.Builder

Builder for creating a Blog using Blazor.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
9.2.3 199 3/13/2025
9.2.2 169 3/13/2025
9.2.1 169 3/13/2025
9.2.0 176 3/12/2025
9.1.3 202 3/9/2025
9.1.2 136 2/23/2025
9.1.1 157 1/23/2025
9.1.0 171 12/4/2024
9.0.0 137 11/27/2024
8.2.0 166 12/4/2024
8.1.2 131 11/27/2024
8.1.1 143 10/21/2024
8.1.0 229 2/10/2024
8.0.1 196 2/8/2024
8.0.0 293 11/23/2023
7.4.2 256 2/8/2024
7.4.1 176 2/8/2024
7.4.0 212 11/5/2023

Made input integer nullable