Readme will be updated soon with more information, below is a quick-start guide.
First, inside of the MauiProgram.cs
file, add UseFontAwesome
return MauiApp.CreateBuilder()
.UseMauiApp<App>()
.UseFontAwesome()
.Build();
First, inside of the MauiProgram.cs
file, add UseMaterial
return MauiApp.CreateBuilder()
.UseMauiApp<App>()
.UseMaterial()
.Build();
<Label Text="{icon:FontAwesome Spinner}" />
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" />
<icon:IconLabel Margin="16"
Icon="{icon:FontAwesome Spinner}"
Spin="True"
SpinDuration="4"
HorizontalOptions="Center"
FontSize="48" />
<icon:IconButton Icon="{icon:FontAwesome Facebook}"
IconSize="32"
Text="Facebook" />