# Replace AI robot header icon

**URL:** https://meta.discourse.org/t/replace-ai-robot-header-icon/329497
**Category:** Support
**Tags:** ai, ai-bot
**Created:** [October 5, 2024, 10:00am UTC](https://meta.discourse.org/t/replace-ai-robot-header-icon/329497 "2024-10-05T10:00:19Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Shauny](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shauny/32/362012_2.png) [@Shauny](https://meta.discourse.org/u/Shauny)
#### Post date: [October 5, 2024, 10:00am UTC](https://meta.discourse.org/t/replace-ai-robot-header-icon/329497/1 "2024-10-05T10:00:19Z")

</div>

Oh, and is there a way to change the icon used in the header? I have an SVG I’d like to replace it with.

---

<div class="post-metadata">

### Author: ![mcwumbly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcwumbly/32/103861_2.png) [@mcwumbly](https://meta.discourse.org/u/mcwumbly)
#### Post date: [October 5, 2024, 8:00pm UTC](https://meta.discourse.org/t/replace-ai-robot-header-icon/329497/2 "2024-10-05T20:00:24Z")

</div>

Here’s a couple topics about replacing icons:

- [Help replacing an icon](https://meta.discourse.org/t/help-replacing-an-icon/273277)
- [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)

---

<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: [October 5, 2024, 8:11pm UTC](https://meta.discourse.org/t/replace-ai-robot-header-icon/329497/3 "2024-10-05T20:11:14Z")

</div>

I use this in the head\_tag of a theme component of my forum

```js
<script type="text/discourse-plugin" version="0.8">  
  api.replaceIcon('robot', 'rocket');
</script>

```

 ![Screenshot 2024-10-05 at 1.10.24 PM](https://global.discourse-cdn.com/meta/original/4X/3/f/9/3f998a802ba52599ba16a6455d73d1af46bd326f.png)

Might have to load it into the icon settings in admin - `svg icon subset`

 ![Screenshot 2024-10-05 at 1.13.15 PM](https://global.discourse-cdn.com/meta/original/4X/e/2/d/e2d6cd4168b4918a3570987cb4b8cff3617b094f.png)

We’re using fontawesome 6 now too

> [@We're upgrading our icons to Font Awesome 6!](https://meta.discourse.org/t/were-upgrading-our-icons-to-font-awesome-6/325349):
>
> What’s Font Awesome? Discourse uses a free set of icons from [Font Awesome](https://fontawesome.com/) throughout its interface. You see these on toolbars, badges, buttons, etc… here’s our composer toolbar: [image] Since 2018 we’ve been using Font Awesome 5 ([original announcement](https://meta.discourse.org/t/introducing-font-awesome-5-and-svg-icons/101643)), and in the meantime Font Awesome 6 has been released. Version 6 includes new icons, some general style updates, and renames. As of today, Discourse will start using version 6 too! Specifically, [version 6.6.0](https://fontawesome.com/versions). This isn’t an enormous visual ch…

* * *

edit: this will need to be [updated for new templates](https://meta.discourse.org/t/modernizing-inline-script-tags-for-templates-js-api/366482#p-1775290-converting-script-typetextdiscourse-plugin-3)

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [November 4, 2024, 8:11pm UTC](https://meta.discourse.org/t/replace-ai-robot-header-icon/329497/4 "2024-11-04T20:11:22Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
