# hass-fontawesome # DEPRECATED This integration is deprecated as of 2025-09-12. It is replaced by [Custom Icons](https://github.com/thomasloven/hass-custom_icons) which should be pretty much a drop-in replacement for most users. `hass-fontawesome` will not be updated and will not recaive bugfixes or updates to the iconsets. `hass-fontawesome` will be removed from HACS earliest 2025-12-12 --- #     #     #     #     [![hacs_badge](https://img.shields.io/badge/HACS-Default-orange.svg)](https://github.com/custom-components/hacs) Use free icons from the [fontawesome](https://fontawesome.com) version 6.6.0 set in Home-assistant. # Installation instructions - Install using [HACS](https://hacs.xyz) (Or copy the contents of `custom_components/fontawesome/` to `/custom_components/fontawesome/`.) [![Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.](https://my.home-assistant.io/badges/hacs_repository.svg)](https://my.home-assistant.io/redirect/hacs_repository/?owner=thomasloven&repository=hass-fontawesome) - Restart Home Assistant - Click this: [![Open your Home Assistant instance and start setting up a new integration.](https://my.home-assistant.io/badges/config_flow_start.svg)](https://my.home-assistant.io/redirect/config_flow_start/?domain=fontawesome) - Alternatively: Go to your integrations configuration, click Add Integration and find "Fontawesome icons" # Icon sets The icons are divided into three sets. - Solid - Regular - Brands # Usage Find the icon you want in the [gallery](https://fontawesome.com/icons?d=gallery&m=free). The three icon sets have different prefixes: `fas:`, `far:` and `fab:` respectively. So, - to get a solid heart, use `fas:heart` - to get a heart outline, use `far:heart` - to get the github logo, use `fab:github` ![image](https://user-images.githubusercontent.com/1299821/118323896-95ef1300-b501-11eb-9ff7-5ca536e65747.png) The icons are useable anywhere in Home Assistant - not only in lovelace. ## Using with custom icons If you have other svg icons you want to use (including but not limited to the Fontawesome Pro set), you can do so by placing the `.svg` files in `/custom_icons/`. You will need to create this directory yourself. You can then use those icons with the `fapro:` prefix. E.g. `fapro:lamp` will get the icon in the file `/custom_icons/lamp.svg`. ### Duotone icons If you have duotone icons, they should contain path elements with the `id`s `fa-primary` and `fa-secondary` or `primary` and `secondary`. You can adjust how the icons look a bit by using the suffixes `#invert`, `#color` or `#color-invert` ![image](https://user-images.githubusercontent.com/1299821/118324014-bf0fa380-b501-11eb-890b-126951d67cef.png) ### More advanced icons You can also use more advanced icons, e.g. with multiple colors if you add the suffix `#fullcolor`. ![ISmIwO2TJN](https://user-images.githubusercontent.com/1299821/118335863-d4d89500-b510-11eb-8d01-2ccf5bbbbba5.gif) You can find some nice ones over at [flaticons.com](https://www.flaticon.com/). > Note: SVG files can also contain embedded CSS inside `