How to use Font Awesome icons

The Argus htmx frontend uses the Font Awesome icon pack for rendering icons. You must install it as a Django App, which is done automatically by applying the argus.htmx.appconfig.APP_SETTINGS.

You can now add a font-awesome icon by adding an <i> element:

<i class="fa-solid fa-magnifying-glass"></i>

To change the icon colour, use the text-<color> Tailwind classes. Similarly, you can change the icon size using Tailwind, for example by setting the text-sm or text-lg class.