Using FontAwesome icons

Follow the sample code below to use the icons provided by FontAwesome:
<!-- Put them in the head tag -->
<link rel="stylesheet" href="" />
<link rel="stylesheet" href="/vendors/@form-validation/umd/styles/index.min.css" />
<form id="demoForm">...</form>
<script src="/vendors/@form-validation/umd/bundle/popular.min.js"></script>
document.addEventListener('DOMContentLoaded', function(e) {
fields: {
plugins: {
icon: new FormValidation.plugins.Icon({
valid: 'fa fa-check',
invalid: 'fa fa-times',
validating: 'fa fa-refresh',
If you want to use the FontAwesome SVG icon instead of its CSS classes, take a look at the Using SVG icons example.
Using FontAwesome icons

See also