Skip to content

Jamjardavies/Jamjardavies.Icon.Maui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jamjardavies.Icon.Maui

Readme will be updated soon with more information, below is a quick-start guide.

Using Jamjardavies.Icon.Maui.FontAwesome

First, inside of the MauiProgram.cs file, add UseFontAwesome

return MauiApp.CreateBuilder()
              .UseMauiApp<App>()
              .UseFontAwesome()
              .Build();

Using Jamjardavies.Icon.Maui.Material

First, inside of the MauiProgram.cs file, add UseMaterial

return MauiApp.CreateBuilder()
              .UseMauiApp<App>()
              .UseMaterial()
              .Build();

Xaml

Maui Label

<Label Text="{icon:FontAwesome Spinner}" />

Maui Button

Using ImageSource:

<Button ImageSource="{icon:FontAwesome Facebook}"
        Text="Facebook"
        FontSize="32" />

Using ImageSource and Text:

<Button ImageSource="{icon:FontAwesome Facebook}"
        Text="{icon:FontAwesome Facebook}"
        FontSize="32" />

IconLabel

<icon:IconLabel Margin="16"
                Icon="{icon:FontAwesome Spinner}" 
                Spin="True"
                SpinDuration="4"
                HorizontalOptions="Center"
                FontSize="48" />

IconButton

<icon:IconButton Icon="{icon:FontAwesome Facebook}"
                 IconSize="32"
                 Text="Facebook" />

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages