All Projects → Append-IT → Blazor.fast

Append-IT / Blazor.fast

Licence: mit
A tiny wrapper around Fast and Fluent Web Components to integrate with Blazor and easily use the EditForm components

Projects that are alternatives of or similar to Blazor.fast

aurum
Fast and concise declarative DOM rendering library for javascript
Stars: ✭ 17 (-26.09%)
Mutual labels:  fast, webcomponents, web-components
web-components
A set of high-quality standards based web components for enterprise web applications. Part of Vaadin 20+
Stars: ✭ 322 (+1300%)
Mutual labels:  webcomponents, web-components, design-system
cwco
Powerful and Fast Web Component Library with a Simple API
Stars: ✭ 27 (+17.39%)
Mutual labels:  webcomponents, web-components
custom-elements-manifest
Custom Elements Manifest is a file format that describes custom elements in your project.
Stars: ✭ 81 (+252.17%)
Mutual labels:  webcomponents, web-components
sodium-ui
Sodium is a simple, modular and customizable web component library to build elegant and accessible UI pieces for your React Application.
Stars: ✭ 23 (+0%)
Mutual labels:  web-components, design-system
fundamental-tools
Web applications with ABAP, done simple.
Stars: ✭ 42 (+82.61%)
Mutual labels:  fast, web-components
starter-simba
Lion-based Design System
Stars: ✭ 18 (-21.74%)
Mutual labels:  webcomponents, design-system
elements
Lovingly crafted ui components based on web components. Works well with all Frameworks - including Angular, React and Vue.
Stars: ✭ 42 (+82.61%)
Mutual labels:  web-components, design-system
fast-blazor
Blazor component library for FluentUI. Microsoft's official lightweight wrapper around the FluentUI Web Components for use with .NET 6.0 Blazor applications
Stars: ✭ 928 (+3934.78%)
Mutual labels:  web-components, fluent
Vaadin
An evolving set of open source web components for building mobile and desktop web applications in modern browsers.
Stars: ✭ 424 (+1743.48%)
Mutual labels:  web-components, webcomponents
Vaadin Core
An evolving set of free, open source web components for building mobile and desktop web applications in modern browsers.
Stars: ✭ 382 (+1560.87%)
Mutual labels:  web-components, webcomponents
Vanilla Colorful
A tiny color picker custom element for modern web apps (2.7 KB) 🎨
Stars: ✭ 467 (+1930.43%)
Mutual labels:  web-components, webcomponents
solar-components
Web Components Implementation of Solar Design System
Stars: ✭ 16 (-30.43%)
Mutual labels:  webcomponents, design-system
vaadin-context-menu
The responsive Web Component for showing context dependent items for any element on the page. Part of the Vaadin components.
Stars: ✭ 26 (+13.04%)
Mutual labels:  webcomponents, web-components
vaadin-checkbox
The Web Component for customized checkboxes. Part of the Vaadin components.
Stars: ✭ 18 (-21.74%)
Mutual labels:  webcomponents, web-components
toggle-icon
toggle-icon is a custom element created with Polymer. It provides an extremely powerful and customizable switch that looks like a paper-icon-button.
Stars: ✭ 21 (-8.7%)
Mutual labels:  webcomponents, web-components
bui
‹b› Web components for creating applications – built by Blackstone Publishing using lit-html and lit-element
Stars: ✭ 29 (+26.09%)
Mutual labels:  web-components, design-system
Elix
High-quality, customizable web components for common user interface patterns
Stars: ✭ 546 (+2273.91%)
Mutual labels:  web-components, webcomponents
design-system
The Baloise Design System consists of reusable components and a clearly defined visual style, that can be assembled together to build any number of applications.
Stars: ✭ 40 (+73.91%)
Mutual labels:  web-components, design-system
web-component
Lightweight library providing interface for building web components
Stars: ✭ 37 (+60.87%)
Mutual labels:  webcomponents, web-components

Blazor.Fast

Blazor.Fast is a component library which wraps the Fast and Fluent web components, with the following design aspects in mind:

  1. Keep the same API as the core library, without introducing a bunch of custom parameters or redundant work.
  2. If you know how to use FAST in another framework, it doesn’t take a lot of time to learn how to use the (very tiny) Blazor wrapper.
  3. The heavy lifting is done in the core FAST or Fluent library.
  4. Abstracts away the theme so we can use Fluent and/or FAST by changing the value of a switch.
  5. Make it easier for Blazor developers to integrate FAST or Fluent in their projects.

Nuget

The blogpost

You can read more about why and how we did this in this blog post.

Documentation and examples

  • The documentation and examples of Blazor.Fast can be found here
  • The official documentation of FAST by Microsoft can be found here

Installing

Create a new Blazor Application dotnet new blazorwasm -o WebApplication

You can install from NuGet using the following command:

Install-Package Append.Blazor.Fast

Setup

  1. Add the Javascript file to the _host.cshtml (server-side) or index.html (client-side) page below the Blazor framework script.
// Provided by default
<script src="_framework/blazor.webassembly.js"></script>
// FAST
<script type="module" src="https://unpkg.com/@microsoft/fast-components"></script>
// Fluent (optional)
<script type="module" src="https://unpkg.com/@fluentui/web-components"></script>
  1. Add the required namespaces in the _imports.razor file
@using Append.Blazor.Fast.Components
@using Append.Blazor.Fast.Core
  1. Adjust the App.razor file to the following, to provide a highest level ThemeProvider.
<SystemProvider Theme="new ThemeProvider(ThemeType.Fast)" use-defaults>
 <Router AppAssembly="@typeof(Program).Assembly">
  <Found Context="routeData">
   <RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
  </Found>
  <NotFound>
   <LayoutView Layout="@typeof(MainLayout)">
    <p>Sorry, there is nothing at this address.</p>
   </LayoutView>
  </NotFound>
 </Router>
</SystemProvider>
  1. Use a component on the index.razor page
<Button appearance="accent">Click Me</Button>

Further reading

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].