Bootstrap 样式的 Blazor UI 组件库,适配移动端支持各种主流浏览器,适配 ABP,同时支持 NET5/NET6/NET7 交流群 795206915 或者 675147445
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
Argo eacd71d135 !3785 chore(#I6B5PX): add pull request template
Co-authored-by: alex chow <zhouchuanglin@gmail.com>
* chore: update pull reqeust template
2 years ago
.gitee !3513 doc(#I608YY): update issue template 2 years ago
.github !3785 chore(#I6B5PX): add pull request template 2 years ago
dist Update to FontAwesome 6 (#229) 2 years ago
localization !3519 doc(#I5ZOFF): add zh-TW localization file 2 years ago
scripts !2469 doc(#I4VQAV): update document for table search feature 3 years ago
src !3784 test: add TreeNodeCache unit test 2 years ago
test test: add TableTreeNode unit test (#364) 2 years ago
.dockerignore chore: add ignore rules 4 years ago
.editorconfig !2327 refactor(#I4R9DA): update popover.js javascript 3 years ago
.filenesting.json !2671 feat(#I537X5): remove zxing.min.js from bundle.min.js 3 years ago
.gitattributes chore: add ignore rules 4 years ago
.gitignore !3326 feat(#I5UF38): add JSModuleAutoLoaderAttribute for javascript module 2 years ago
.issuetracker !2841 doc(#I5A6AQ): update repo link 3 years ago
.tfignore chore: add ignore rules 4 years ago
BootstrapBlazor.sln !3771 feat(#I6AY0F): add baidu ocr component 2 years ago
BootstrapBlazor.slnf !2785 test(#I57IBT): add unit test for edit feature of Table 3 years ago
CHANGELOG.zh-CN.md docs: add link for changelog 5.0.22 4 years ago
Directory.Build.props !3193 chore(#I5PL6B): update props config ready for upgrade to net7 2 years ago
Framework.props !3514 chore(#I6094F): bump version 7.0.0 2 years ago
LICENSE chore: update copyright author 4 years ago
NuGet.Config !1691 feat(#I44F4H): EditForm/InCell mode support Readonly parameter on Table component 4 years ago
README.md doc: update readme document (#314) 2 years ago
README.zh-CN.md !3772 fix(#I6B1VD): update modal.js fix close all dialog when modal inside dialog 2 years ago
appveyor.yml chore: update Nuget key 4 years ago

README.md

Bootstrap Blazor Component

A set of enterprise-class UI components based on Bootstrap and Blazor.

License Nuget Nuget Repo Size Commit Date Github build codecov

English | 中文


Features

  • Enterprise-class UI designed for web applications.
  • A set of high-quality Blazor components out of the box.
  • Supports WebAssembly-based client-side and SignalR-based server-side UI event interaction.
  • Supports Progressive Web Applications (PWA).
  • Build with C#, a multi-paradigm static language for an efficient development experience.
  • .NET Standard 2.1 based, with direct reference to the rich .NET ecosystem.
  • Supports NET5. (Server-Side, WASM)
  • Seamless integration with existing ASP.NET Core MVC and Razor Pages projects.

Online Examples

website website

Installation Guide

Create a new project from the dotnet new template

  1. Install the template

dotnet new install Bootstrap.Blazor.Templates::*

  1. Create the Boilerplate project with the template

dotnet new bbapp

Install Bootstrap Blazor Project Template

  1. Download Project Template

Microsoft Market link

  1. Double Click BootstrapBlazor.UITemplate.vsix

Import Bootstrap Blazor into an existing project

  1. Go to the project folder of the application and install the Nuget package reference

dotnet add package BootstrapBlazor

  1. Add the stylesheet javascripts file to your main index file - Pages/_Host.cshtml (Server) or wwwroot/index.html (WebAssembly)

HTML

<!DOCTYPE html>
<html lang="en">
<head>
    . . .
    <link rel="stylesheet" href="_content/BootstrapBlazor/css/bootstrap.blazor.bundle.min.css">
</head>
<body>
    . . .
    <script src="_framework/blazor.server.js"></script>
    <script src="_content/BootstrapBlazor/js/bootstrap.blazor.bundle.min.js"></script>
</body>
</html>
  1. Open the ~/Startup.cs file in the and register the Bootstrap Blazor service:

C#

namespace BootstrapBlazorAppName
{
    public class Startup
    {
        public void ConfigureServices(IServiceCollection services)
        {
            //more code may be present here
            services.AddBootstrapBlazor();
        }

        //more code may be present here
    }
}

Visual Studio Integration

To create a new Bootstrap Blazor UI for Blazor application, use the Create New Project Wizard. The wizard detects all installed versions of Bootstrap Blazor for Blazor and lists them in the Version combobox—this enables you to start your project with the desired version. You can also get the latest version to make sure you are up to date.

  1. Get the Wizard

To use the Create New Project Wizard, install the Bootstrap Blazor UI for Blazor Visual Studio Extensions. You can get it from the:

  • Visual Studio Marketplace (for Windows)
  1. Start the Wizard

To start the wizard, use either of the following approaches

Using the Project menu:

  • Click File > New > Project.
  • Find and click the C# Blazor Application option (you can use the search, or filter by Blazor templates).
  • Follow the wizard.

Supported browsers

chrome firefox edge ie Safari Andriod oper

Mobile devices

ios Andriod windows

Chrome Firefox Safari Android Browser & WebView Microsoft Edge
iOS Supported Supported Supported N/A Supported
Android Supported Supported N/A Android v5.0+ supported Supported
Windows 10 Mobile N/A N/A N/A N/A Supported

Desktop browsers

macOS linux windows

Chrome Firefox Internet Explorer Microsoft Edge Opera Safari
Mac Supported Supported N/A N/A Supported Supported
Linux Supported Supported N/A N/A N/A N/A
Windows Supported Supported Supported, IE11+ Supported Supported Not supported

Screenshots

Toggle Toast Upload Upload2 Bar Pei Doughnut

Contribution

  1. Fork
  2. Create Feat_xxx branch
  3. Commit
  4. Create Pull Request

Donate

If this project is helpful to you, please scan the QR code below for a cup of coffee.