chanan / Blazorous

Maintainable CSS with Blazor

Home Page:https://chanan.github.io/Blazorous/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a library of pre made components?

chanan opened this issue · comments

Consider making a library of pre made components for each html tag such as:

<Dynamic TagName="h1" ...>@ChildContent</Dynamic>

Give it a standard name such as BlazorousH1 that can then be used in the site:

<BlazorousH1>Heading 1</BlazorousH1>

The heading can then be styled like other Dynamic tags either with the css prop or if css style attributes are implemented.

This has been blocked by https://github.com/aspnet/Blazor/issues/954 but that has now been fixed in the dev branch. Once that is merged, I will pick up this work again.