# How to use a custom SVG like icon in the Reactions plugin?

**URL:** https://meta.discourse.org/t/how-to-use-a-custom-svg-like-icon-in-the-reactions-plugin/267027
**Category:** Support
**Tags:** reactions
**Created:** [May 7, 2023, 6:32am UTC](https://meta.discourse.org/t/how-to-use-a-custom-svg-like-icon-in-the-reactions-plugin/267027 "2023-05-07T06:32:09Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ckshen](https://avatars.discourse-cdn.com/v4/letter/c/ad7895/32.png) [@ckshen](https://meta.discourse.org/u/ckshen)
#### Post date: [May 7, 2023, 6:32am UTC](https://meta.discourse.org/t/how-to-use-a-custom-svg-like-icon-in-the-reactions-plugin/267027/1 "2023-05-07T06:32:09Z")

</div>

Regarding the ability to customize the Like icon, i know from some of the earliest discussions we are instructed to only pick icons that have the ‘regular’ version (unliked) and the ‘solid’ version (liked) readily available.

Our forum has used an substitute Like icon (knife and fork- yes we are a food forum) for years, where the solid version is available in FontAwesome Free, but the regular version is only in Pro. It doesn’t make sense for us to pay $99 for the Pro plan for just one icon. Question is, are we able to upload our own SVG for the customized icon? Has anyone done it successfully?

I tried doing that, but no icon shows up. Hence the question. Thanks.

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [June 2, 2023, 3:53pm UTC](https://meta.discourse.org/t/how-to-use-a-custom-svg-like-icon-in-the-reactions-plugin/267027/2 "2023-06-02T15:53:21Z")

</div>

> [@Replace Discourse's default SVG icons with custom icons in a theme](https://meta.discourse.org/t/replace-discourses-default-svg-icons-with-custom-icons-in-a-theme/115736):
>
> You can replace a Discourse’s default SVG icons individually or as a whole with your own custom SVG and override them [within a theme or theme component.](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966#create-new-themes-and-theme-components-7)Step 1 - Create an SVG Spritesheet To get started, you must create an SVG Spritesheet. This can contain anything from a single additional custom SVG icon up to an entire replacement set of hundreds. The spritesheet should be saved as an SVG file. In principle, you are nesting the \<svg\> tag contents from the original SVG icon file into \<symbol\> …

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [June 2, 2023, 3:57pm UTC](https://meta.discourse.org/t/how-to-use-a-custom-svg-like-icon-in-the-reactions-plugin/267027/3 "2023-06-02T15:57:31Z")

</div>

Hey ckshen,

I don’t have the answer, but it’s an interesting question.  
I also noticed that it doesn’t work with many default icons. It will work with “thumbs-up” and will automatically put a filled icon when we click it, but for other icons like “wrench” or “link”, the icon doesn’t render.

It’s also worth mentioning that using the API to replace icons as it’s done here [Change the Like Icon to 👍](https://meta.discourse.org/t/change-the-like-icon-to/87748) for example seems overridden by the Reactions **discourse reactions like icon** setting.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [June 2, 2023, 4:51pm UTC](https://meta.discourse.org/t/how-to-use-a-custom-svg-like-icon-in-the-reactions-plugin/267027/4 "2023-06-02T16:51:59Z")

</div>

I think the Reaction code adds a ‘far’ to things, which will make them go blank if there’s no far version:

 ![Untitled](https://global.discourse-cdn.com/meta/original/4X/0/b/a/0ba4aae31f640418d3276ef99affdef5c3fde20d.png)

 ![Untitled2](https://global.discourse-cdn.com/meta/original/4X/d/8/0/d800f7006a7f522188a3701ea8a99d57005be88a.png)
