Use weweb icons inside a custom coded component?

Hey !

I’m wondering how to use the ww-icon element inside a custom-coded component. Has anybody already done this ?

Thanks !

Hi Hugo :waving_hand:

What are you trying to achieve?
You didn’t manage to use icons inside your component?

I am trying to build an input to link another record, this input need to accept several types of objects (tables) :
Animationrecord

I am trying to replace the first letter of the object by an icon :

I know i will need to mention the icons in a custom code to load it into the project but I am having a hard time using the icon component.

Thanks.

If it gets too complicated you might want to try using the regular “Select Element” which was recently updated with the possibility of using icons and images

1 Like