Skip to content

Icon Font Awesome

BsIconFontawesome is small, and a lightweight component. It can be used inside almost any component or html element. BsIconFontawesome loads free icons from Font Awesome dynamically.

Added since v2.1.0

Overview

The icon's name used by BsIconFontawesome is the same as in Font Awesome website. BsIconFontawesome has three icon variants, namely: Solid (default), Regular, and Light.

The size property is used to set the icon size. And if not set, the default size will be used.

Solid
Regular
Light

Styling an Icon

<bs-icon-fontawesome> can be styles with css class or inline style.

Solid
Regular

Rotating an Icon

Additionally, you can also rotate the icon to some extent. Use flip property or rotation property to rotate the icon, but do not use both property together.

Flip
Rotate

Animation

<bs-icon-fontawesome> also has built-in animations, which are: Spin and Pulse.

Spin animation
Pulse animation

API Reference

Released under the BSD-3-Clause License.