# Adding an Icon in Database Editor

**URL:** <https://forum.bubble.io/t/adding-an-icon-in-database-editor/269300>\
**Category:** Database\
**Created:** [June 23, 2023, 3:06pm UTC](https://forum.bubble.io/t/adding-an-icon-in-database-editor/269300 "2023-06-23T15:06:44Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![medillon925](https://avatars.discourse-cdn.com/v4/letter/m/c68b51/32.png) [@medillon925](https://forum.bubble.io/u/medillon925)\
**Post date:** [June 23, 2023, 3:06pm UTC](https://forum.bubble.io/t/adding-an-icon-in-database-editor/269300/1 "2023-06-23T15:06:44Z")

</div>

Hello! I am going to give away my lack of experience but I am trying to add an icon to the Modify and Existing Database field “Icon”, and I am not sure how to do it. Any help or guidance would be very much appreciated!

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/b/b/bbdc4fd5f97da4e69c2efbadcb2cea495e0838d6.png)

---

<div class="post-metadata">

**Author:** ![mike1](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mike1/32/195478_2.png) [@mike1](https://forum.bubble.io/u/mike1)\
**Post date:** [June 23, 2023, 3:17pm UTC](https://forum.bubble.io/t/adding-an-icon-in-database-editor/269300/2 "2023-06-23T15:17:06Z")

</div>

When you say an Icon, do you mean one of the small images that Bubble have in your editor?

---

<div class="post-metadata">

**Author:** ![adamhholmes](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/adamhholmes/32/100510_2.png) [@adamhholmes](https://forum.bubble.io/u/adamhholmes)\
**Post date:** [June 23, 2023, 3:25pm UTC](https://forum.bubble.io/t/adding-an-icon-in-database-editor/269300/3 "2023-06-23T15:25:21Z")

</div>

What ‘Type’ is your Icon field?

---

<div class="post-metadata">

**Author:** ![medillon925](https://avatars.discourse-cdn.com/v4/letter/m/c68b51/32.png) [@medillon925](https://forum.bubble.io/u/medillon925)\
**Post date:** [June 23, 2023, 3:31pm UTC](https://forum.bubble.io/t/adding-an-icon-in-database-editor/269300/4 "2023-06-23T15:31:49Z")

</div>

Yes, exactly!

---

<div class="post-metadata">

**Author:** ![medillon925](https://avatars.discourse-cdn.com/v4/letter/m/c68b51/32.png) [@medillon925](https://forum.bubble.io/u/medillon925)\
**Post date:** [June 23, 2023, 3:32pm UTC](https://forum.bubble.io/t/adding-an-icon-in-database-editor/269300/5 "2023-06-23T15:32:39Z")

</div>

Hmmm… I am not sure what you mean (it’s me, not you). What do you mean by Type?

---

<div class="post-metadata">

**Author:** ![mike1](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mike1/32/195478_2.png) [@mike1](https://forum.bubble.io/u/mike1)\
**Post date:** [June 23, 2023, 3:33pm UTC](https://forum.bubble.io/t/adding-an-icon-in-database-editor/269300/6 "2023-06-23T15:33:44Z")

</div>

Ok, so I am going to guess that you want a certain icon to be displayed for a certain user? (Sorry I am just trying to understand your usecase to make sure what I say is right)

---

<div class="post-metadata">

**Author:** ![adamhholmes](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/adamhholmes/32/100510_2.png) [@adamhholmes](https://forum.bubble.io/u/adamhholmes)\
**Post date:** [June 23, 2023, 3:35pm UTC](https://forum.bubble.io/t/adding-an-icon-in-database-editor/269300/7 "2023-06-23T15:35:17Z")

</div>

All Data has a type (text, date, number, image, yes/no, Custom Datatype etc.)

So what Type is you Icon field? (I’m guessing it’s ‘Text’)

Also, how and where are you displaying this Icon field?

---

<div class="post-metadata">

**Author:** ![medillon925](https://avatars.discourse-cdn.com/v4/letter/m/c68b51/32.png) [@medillon925](https://forum.bubble.io/u/medillon925)\
**Post date:** [June 23, 2023, 3:46pm UTC](https://forum.bubble.io/t/adding-an-icon-in-database-editor/269300/8 "2023-06-23T15:46:53Z")

</div>

Thanks! I don’t want an icon displayed for a specific user, I just need to change the icons in these little pink circles.

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/d/8/d860055e24fb6c993e359139c7ad9abb09cc8225.png)

---

<div class="post-metadata">

**Author:** ![medillon925](https://avatars.discourse-cdn.com/v4/letter/m/c68b51/32.png) [@medillon925](https://forum.bubble.io/u/medillon925)\
**Post date:** [June 23, 2023, 3:48pm UTC](https://forum.bubble.io/t/adding-an-icon-in-database-editor/269300/9 "2023-06-23T15:48:16Z")

</div>

Got it! Ok, it’s text! And I have tried just typing the name of the icon I want into the Icon field, but it doesn’t work when I do that-meaning the icon won’t appear. For example, if I want a question mark as an icon, I have typed “question”, but the only thing that shows up is the q for question. The icons are displayed here:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/d/8/d860055e24fb6c993e359139c7ad9abb09cc8225.png)

---

<div class="post-metadata">

**Author:** ![mike1](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mike1/32/195478_2.png) [@mike1](https://forum.bubble.io/u/mike1)\
**Post date:** [June 23, 2023, 3:51pm UTC](https://forum.bubble.io/t/adding-an-icon-in-database-editor/269300/10 "2023-06-23T15:51:29Z")

</div>

Ok brilliant, and this is a repeating group that you are using to display the info?

What I would do if I were you, is use conditionals to chanage the icon depending on what is in the repeating group.

For example. On the icon itself, you say "If current cells _database input_ is “Quizzes” then icon is [choose icon you want]… Rinse and repeat

---

<div class="post-metadata">

**Author:** ![medillon925](https://avatars.discourse-cdn.com/v4/letter/m/c68b51/32.png) [@medillon925](https://forum.bubble.io/u/medillon925)\
**Post date:** [June 23, 2023, 5:30pm UTC](https://forum.bubble.io/t/adding-an-icon-in-database-editor/269300/11 "2023-06-23T17:30:45Z")

</div>

Thanks so much! Giving this a try now-I really appreciate your help!

---

<div class="post-metadata">

**Author:** ![Newed](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/newed/32/262530_2.png) [@Newed](https://forum.bubble.io/u/Newed)\
**Post date:** [June 23, 2023, 7:19pm UTC](https://forum.bubble.io/t/adding-an-icon-in-database-editor/269300/12 "2023-06-23T19:19:09Z")

</div>

You can follow the icon approach with conditionals above or you can use the “fa codes” (Font Awesome).

Bubble’s default icons are of this type. If you insert an icon element into the editor and modify the icon, you will see that the name of the element will be its “fa code”.

The name of the default icon, e.g. it’s “fa-bars”.

Therefore, if you have a text field in your database, you can save the “fa code” of the desired icon. In the default icon example, remove the “fa-” prefix and save the code like this [fa]bars[/fa]. Where “bars” is the icon code without the “fa-” prefix. Thus, if you are using a Repeating Group, you must use a text element (only possible with a text element) to return the code of the current cell. If you’ve done everything right, the icon will appear.

Note: some icons have a long name that sometimes gets cut off when inserting into the editor. So check out the [Font Awesome](https://fontawesome.com/v4/icons/#new) documentation.

---

<div class="post-metadata">

**Author:** ![anon5812621](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@anon5812621](https://forum.bubble.io/u/anon5812621)\
**Post date:** [November 18, 2024, 7:29pm UTC](https://forum.bubble.io/t/adding-an-icon-in-database-editor/269300/13 "2024-11-18T19:29:23Z")

</div>

In four seconds you explained to me something seemingly simple but which I was dancing around. Thank you.

---

<div class="post-metadata">

**Author:** ![tart2000design](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/tart2000design/32/171697_2.png) [@tart2000design](https://forum.bubble.io/u/tart2000design)\
**Post date:** [January 2, 2025, 12:17pm UTC](https://forum.bubble.io/t/adding-an-icon-in-database-editor/269300/14 "2025-01-02T12:17:51Z")

</div>

Hi ! Has anyone found a way to do that with the new icon system? Thank you
