Bootstrap 4 Components for Blazor Framework
- Inside the
<head>
element of yourwwwroot/index.html
, add<script src="_content/BlazorStrap/blazorStrap.js"></script>
. - In
Program
, addbuilder.Services.AddBootstrapCss();
.
- Inside the
<head>
element of yourPages/_Host.cshtml
, add<script src="_content/BlazorStrap/blazorStrap.js"></script>
. - In
Startup
, addServices.AddBootstrapCss();
.
Animations are always on as they no longer require javascript to function.
If you want to manage your styles in code and use dynamic styles you can check out my other project: BlazorStyled
https://github.com/chanan/BlazorStrap/releases
- Alerts
- Badges
- Breadcrumbs
- Buttons (excluding Checkboxes and Radio buttons)
- ButtonGroups
- Cards
- Carousals
- Collapse
- Dropdowns
- Images
- Jumbotrons
- Figures
- Forms - mostly done (Binding still pending)
- Layout (Container, Row, Col)
- Listgroups
- Navs
- Navbars
- Media
- Modals
- Pagination
- Popover
- Progress
- Tables
- Tabs
- Tooltip