A modern, clean and elegant UI library for Blazor/Razor.
- C# 50.9%
- HTML 24.1%
- SCSS 20.1%
- TypeScript 2.6%
- JavaScript 1.2%
- Other 1.1%
| .forgejo/workflows | ||
| .idea/.idea.CleanUI/.idea | ||
| CleanUI | ||
| CleanUI.Docs | ||
| CleanUI.SourceGenerator.Icons | ||
| .gitignore | ||
| CleanUI.slnx | ||
| Directory.Build.props | ||
| icon.png | ||
| icon.svg | ||
| LICENSE.md | ||
| README.md | ||
CleanUI
A modern, clean and elegant UI library for Blazor/Razor.
Usage
- Add the
CleanUIpackage:
dotnet add package CleanUI
or
<ItemGroup>
<PackageVersion Include="CleanUI" Version="0.1.0"/>
</ItemGroup>
- Add the following lines to your
App.razor:
<!-- CSS variables (required) (can be overwritten) -->
<link rel="stylesheet" href="@(Assets["_content/CleanUI/theme.css"])"/>
<!-- Base styling for components (required) -->
<link rel="stylesheet" href="@(Assets["_content/CleanUI/base.css"])"/>
<!-- Reset styling (html, body, etc.) (optional) -->
<link rel="stylesheet" href="@(Assets["_content/CleanUI/reset.css"])"/>
<!-- Utility classes (things like spacing, font size, etc.) (optional) -->
<link rel="stylesheet" href="@(Assets["_content/CleanUI/utilities.css"])"/>
- Use the components:
<CleanUI.CleanButton>
Click me!
</CleanUI.CleanButton>
or
@using CleanUI
<CleanButton>
Click me!
</CleanButton>