Outputs the specified Font Awesome icon. Attributes include:

  • icon: The name of the icon; accepts any name below (or browse at https://fontawesome.io/).
  • color: The icon color; accepts “primary”, “secondary”, “action” optional; inherits default from element).
  • size: The icon size; accepts “lg”, “2x”, “3x”, “4x”, “5x” (optional; inherits font size from element).
  • rotate: Rotate the icon using any value Font Awesome rotation value (optional).
  • flip: Flip the icon using any valid value in Font Awesome (optional).
  • animate: Animate the icon using any valid Font Awesome animation value (optional).

Regular

[fontawesome_docs type=”regular”]

Solid

[fontawesome_docs type=”solid”]

Brands

[fontawesome_docs type=”brand”]

All brand icons are trademarks of their respective owners.

The use of these trademarks does not indicate endorsement of the trademark holder by Font Awesome, nor vice versa.

Last updated on March 12, 2025


Was this article helpful?
YesNo