Material Symbols for Home Assistant is a collection of 13,616 Google Material Symbols for use within Home Assistant. It uses the icon-set produced and maintained by iconify.
There is a Icon Finder Tool to help you select the correct icon. Simply type in what you're looking for, click the icon of choice, and the icon entry for home assistant will be copied to your clipboard (e.g., m3o:light
). The copied text can be pasted for use in your YAML configuration or into you UI frontend interface.
Breaking Changes
- Repository Structure: The repository and installation have transitioned from a "Lovelace" repository (v1.X.X) to an "Integration" repository (202X.X.X+). Users should reinstall from the new integration repository to avoid compatibility issues.
- Icon Prefix Migration: The icon prefix has transitioned from m3s, which previously contained all icon styles, to individual prefixes based on style. Each style now has its unique prefix (e.g., m3o for outlined, m3r for rounded). Refer to the documentation for the complete list of prefixes.
- Reduction in Available Icons: The number of available icons has been reduced from ~18,600 to 13,616.
My recommendation here is to fully uninstall the existing v1.X.X repository and remove all traces of it from the system. Please do the following to complete this:
If you originally installed the icons via HACS:
HACS
and in the search bar search Material Symbols
.Menu Icon
(3 vertical dots) for the repositoryRemove
Remove
Menu Icon
(3 vertical dots), select the Resources
option.material-symbols.js
is present. If so remove it.If you originally installed the icons via configuration.yaml:
If your resources are managed by configuration.yaml:
Remove the material-symbols.js
from
frontend:
extra_module_url:
- /local/community/material-symbols/material-symbols.js
or the location you placed it.
If your resources are managed in the resources section of the dashboard UI:
Menu Icon
(3 vertical dots), select the Resources
option.material-symbols.js
is present. If so remove it.Make sure to delete the files from the location you placed it.
Add the Custom Repository to HACS manually:
https://github.com/beecho01/material-symbols
Install the Integration:
Add Integration to Devices & Services:
Restart Home Assistant:
If you prefer to install the integration manually:
Download the Integration:
material_symbols
folder from the custom_components
directory of this repository.Copy to Home Assistant:
material_symbols
folder into your Home Assistant config/custom_components/
directory. The final path should be config/custom_components/material_symbols/
.Restart Home Assistant:
Add Integration to Devices & Services:
Restart Home Assistant:
Once installed, you can use the Material Symbols icons in your Lovelace UI.
Icon Prefixes and Styles:
The icons come in six distinct styles, each with its own prefix:
m3o
m3of
m3r
m3rf
m3s
m3sf
Using an Icon:
In your entity configuration, specify the icon using the appropriate prefix and icon name:
icon: 'prefix:icon_name'
Replace prefix
with one of the prefixes above and icon_name
with the desired icon. There is a Icon Finder Tool to help you select the correct icon for your needs.
type: entities
title: Lights
entities:
- entity: light.living_room
name: Living Room Light
icon: 'm3o:light'
- entity: light.kitchen
name: Kitchen Light
icon: 'm3of:light'
- entity: light.bedroom
name: Bedroom Light
icon: 'm3r:light'
- entity: light.garage
name: Garage Light
icon: 'm3rf:light'
- entity: light.porch
name: Porch Light
icon: 'm3s:light'
- entity: light.garden
name: Garden Light
icon: 'm3sf:light'
Join the discussion on the home assistant community forum.
If you encounter issues or have suggestions, please open an issue on GitHub. Contributions are welcome! Feel free to submit pull requests.
01-preview
for assistance in resolving issues during development.This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.