Blatternfly 0.6.3

Install-Package Blatternfly -Version 0.6.3
dotnet add package Blatternfly --version 0.6.3
<PackageReference Include="Blatternfly" Version="0.6.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Blatternfly --version 0.6.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Blatternfly, 0.6.3"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Blatternfly as a Cake Addin
#addin nuget:?package=Blatternfly&version=0.6.3

// Install Blatternfly as a Cake Tool
#tool nuget:?package=Blatternfly&version=0.6.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Build Status GitHub last commit GitHub Nuget version Nuget downloads

Blatternfly

View demo

About The Project

Blazor learning project. Blatternfly is a Blazor implementation of PatternFly.

Built With

  • Blazor. Some parts of the form and input base components has been copied over from Blazor source code.
  • PatternFly.

Getting started

Prerequisites

  • .NET 6.0

Imports

Add the following to _Imports.razor

@using Blatternfly
@using Blatternfly.Components
@using Blatternfly.Layouts

Patternfly CSS

Add the following to index.html

<link href="_content/Blatternfly/patternfly.css" rel="stylesheet" />
<link href="_content/Blatternfly/patternfly-addons.css" rel="stylesheet" />

See also the getting started section on the PatternFly website for more details.

Configuration

Example of Blatternfly configuration in Program.cs

var builder = WebAssemblyHostBuilder.CreateDefault(args);
builder.RootComponents.Add<App>("#app");

builder.Services.AddScoped(sp => new HttpClient
{
    BaseAddress = new Uri(builder.HostEnvironment.BaseAddress)
});

builder.AddBlatternfly();

var webhost = builder.Build();

await webhost.UseBlatternfly();
await webhost.RunAsync();

License

Distributed under the MIT License. See LICENSE for more information.

Acknowledgements

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.6.3 1,114 11/20/2021
0.6.2 71 11/9/2021
0.6.1-pre 35 10/23/2021
0.6.0-pre 80 10/16/2021
0.5.0 218 10/2/2021
0.4.1 152 9/26/2021
0.4.0 165 9/26/2021
0.3.0 104 9/25/2021
0.2.0 114 9/18/2021
0.1.0 87 9/17/2021