---
title: "Customizing Feedback Icons"
description: "Wanna change the look of your feedback buttons? You can with a little bit of JavaScript. 💅"
url: "https://support.helpdocs.io/article/7hljbh7zhx-changing-feedback-icons"
category: "Code Snippets"
updated_at: "2026-09-07T13:55:13Z"
---

# Customizing Feedback Icons

Wanna change the look of your feedback buttons? You can with a little bit of JavaScript.

By default the feedback section at the bottom of each article uses emoji:

![The default feedback section, reading What did you think of this doc? with three emoji](https://files.helpdocs.io/Ytt2uahFxY/articles/7hljbh7zhx/1788788087296/feedback-widget.png)

[Icons8](https://icons8.com/) is a great resource for finding free icons that look great.

### Changing Feedback Icons

Paste the following code into **Settings** &gt; [**Code**](https://my.helpdocs.io/app/settings?tab=code) &gt; **Javascript**. Replace `ICON_URL_HERE` with an icon URL you'd like to use.

```javascript
<script>  // Add your own icon URL in place of ICON_URL_HERE  var icons = {    positive: 'ICON_URL_HERE',    neutral: 'ICON_URL_HERE',    negative: 'ICON_URL_HERE',  };  function ready(fn) {    if (document.readyState != 'loading'){      fn();    } else if (document.addEventListener) {      document.addEventListener('DOMContentLoaded', fn);    } else {      document.attachEvent('onreadystatechange', function() {        if (document.readyState != 'loading')          fn();      });    }  }    function replaceIcon(selector, url) {    var el = document.querySelector(selector);    if (!el) return;    el.innerHTML = '<img src="' + url + '">';  }    ready(function() {    replaceIcon('.feedback-positive', icons.positive);    replaceIcon('.feedback-neutral', icons.neutral);    replaceIcon('.feedback-negative', icons.negative);  });</script>
```

The three buttons carry the classes `feedback-positive`, `feedback-neutral`, and `feedback-negative`, which is what the script above targets.

Here's an example of what different feedback buttons could look like using the above JavaScript 👇

![The same feedback section with the emoji swapped for a green tick, a grey dash, and a red cross](https://files.helpdocs.io/Ytt2uahFxY/articles/7hljbh7zhx/1788788088091/feedback-custom-2.png)

If your icons are hosted somewhere that blocks hotlinking, upload them to HelpDocs first and use those URLs instead.
