Icon

Share via

Use the fa shortcode to add a Font Awesome icon with ease.

Overview

Use the fa shortcode to quickly add a Font Awesome icon to your content. Use fa for regular icons, fab for brand icons, and fas for solid icons. As an example, the following shortcodes show a square check, a brand logo, and a circle check.

markdown
{{< fa square-check >}}
{{< fab linkedin >}}
{{< fas circle-check >}}

Arguments

The shortcode supports unnamed arguments only and requires at least one argument. The first argument is used as the icon name without the fa- prefix. Additional (unnamed) arguments are passed as class attributes to the inner HTML element.

Remarks

See the icons documentation in the content section for additional styling options.