Go to file
Argo 628b744fd9 !1667 feat(#I43DXD): add LabelAlign parameter on EditorForm component
* Merge branch 'dev' into dev-align
* doc: 更新参数说明
* doc: 更新示例弹窗内布局每行 2 个组件
* feat: EditDialog 增加行布局参数
* feat: 编辑搜索弹窗移除 modal-footer 样式
* chore: 更新弹窗 footer 样式
* doc: 更新示例文档
* revert: 增加 Data 数据判断
* refactor: 移除对 Data 数据源判断
* chore: 更新索引
* feat: Spinner 组件适配 bs5
* doc: 更新文档说明
* doc: 增加 EditorForm 参数说明
* doc: 更新按钮右侧对齐示例
* doc: 更新 Inline 模式示例
* refactor: 使用 is-center 样式
* chore: 更新样式
* chore: 增加对齐样式
* feat: EditorForm 增加标签对齐参数
2021-08-01 16:21:31 +00:00
.gitee !867 docs(#I2CPGT): update issue template and readme.md 2021-01-11 10:52:40 +08:00
.github !1608 fix(#I4163B): toast compatible bootstrap v5 2021-07-17 07:51:30 +00:00
dist !447 doc(#I1T8YQ): 更新 wasm 发布 404 文件 2020-08-30 01:51:55 +08:00
scripts !1318 feat(#I3IWEU): extensions upgrade version to 5.0.17 2021-04-15 11:18:51 +08:00
src !1667 feat(#I43DXD): add LabelAlign parameter on EditorForm component 2021-08-01 16:21:31 +00:00
test/UnitTest !1540 feat(#I3Z00I): table support dynamic change column when use DataTable as datasource 2021-07-04 05:02:16 +00:00
.dockerignore chore: add ignore rules 2021-01-12 12:55:16 +08:00
.editorconfig !1229 docs(#I3E6RM): update Table Column sample code 2021-03-30 13:03:49 +08:00
.gitattributes chore: add ignore rules 2021-01-12 12:55:16 +08:00
.gitignore chore: add ignore rules 2021-01-12 12:55:16 +08:00
.issuetracker chore: update fork tracker 2021-01-12 13:10:40 +08:00
.tfignore chore: add ignore rules 2021-01-12 12:55:16 +08:00
appveyor.yml chore: update Nuget key 2021-01-12 12:45:21 +08:00
BootstrapBlazor.sln !1482 feat(#I3VBB7): enable hot reload 2021-06-11 12:12:56 +08:00
CHANGELOG.zh-CN.md docs: add link for changelog 5.0.22 2021-03-24 10:37:31 +08:00
Directory.Build.props !1176 docs(#I3CC5Q): update target framework config 2021-03-21 17:57:01 +08:00
LICENSE chore: update copyright author 2021-01-12 12:47:08 +08:00
NuGet.Config !1229 docs(#I3E6RM): update Table Column sample code 2021-03-30 13:03:49 +08:00
README.md !1349 chore(#I3NMBT): extensions upgrade to 5.0.18 2021-04-22 14:58:39 +08:00
README.zh-CN.md !1613 doc(#I418DH): update carousel in home page 2021-07-18 13:34:52 +00:00

Bootstrap Blazor Component

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

Github build Nuget Nuget Github Repo Size Commit Date


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 -i 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.