SVG Icon Names
You can use the Font Awesome Icon Name with the SVG + JS method to display the icons on your page.
Add Icons with the Icon Name
You can add any icon in any style with the icon name when using the SVG+JS method. Just add the class for the style you want to use to select the style of icon, then insert the icon name between the opening and closing <i>
element. Icon names work with all the styling options as CSS classes as well.
Here are some examples:
If your icon isn’t showing, be sure to double-check the icon name:
- icon names must be lower-case (ex.
block-question
,playstation
,xbox
) - multi-word icon names must use kebab-case (ex.
starship-freighter
,space-station-moon-construction
,starfighter-twin-ion-engine-advanced
)