Installation instructions: https://meta.discourse.org/t/how-do-i-install-a-theme-or-theme-component/63682
What this does?
This component allows category badge links to have icons next to the category name. Here is an example of how this would look, with category style set to
Here is how this would look with category style set to
Configuration is pretty straightforward:
Note that this component also lets you override the
category lock icon used to denote private categories.
January 2020 update: thanks to @rogerco, you can now use the “partial” keyword to partially match category slugs (i.e. entering “book,icon,red,partial” would match all category slugs containing “book”).
- Does not correctly respect the icon color when using with the
bulletcategory style. In general, though, this shouldn’t be used with the bullet or bar category styles, the UI would be unnecessarily busy.
See also the Tag Icons component, which does the same thing for tags.