FABrandIcon

in namespace DotVVM.BusinessPack.Controls

Renders a FontAwesome (https://fontawesome.com/) SVG icon.

Usage & Scenarios

Displays a brand logo from the Font Awesome Brands icon set included with Business Pack.

Sample 1: Displaying brand logos

Set Icon to a member of FABrandIconType. Use the brand icon alongside a text label so readers do not have to recognize the logo.

<p><bp:FABrandIcon Icon="Github" /> GitHub</p>
<p><bp:FABrandIcon Icon="Gitlab" /> GitLab</p>

Properties

Name Type Description Notes Default Value
property icon Icon FABrandIconType FABrandIconType Gets or sets the type of the icon to render.
attribute
inner element
static value
bindable
default
Empty
property icon Visible Boolean
attribute
inner element
static value
bindable
default
True

HTML produced by the control