Just store it in a text field in your database or option set.
the bbcode is
You can get the icon names either directly from Font Awesome’s website - but they are currently on version 6 of the library and I think Bubble only uses version 4, so not all of their icons will work.
Or (to make sure you only use Bubble compatible ones) you can use the default Bubble icon element to find the icon you want to use, then the name of the icon will appear in the top of the element inspector: ‘fa-icon_name’ - you don’t need the ‘fa-’ only the name itself.
So in the above example the bit you need is just ‘home’
Then put that between the
[fa] [/fa] tags in your text - e.g.
[fa]home[/fa] and store it in a text field in your database:
Then you can refer to that item’s icon field in a text element on your page, and the icon will display:
You can set the font size, and colour in the property editor (either with a static value or dynamically) as you would any other text.