Use icon picker in custom component

I a building my custom component and I want to be able to choose an Icon to display. Can I use retool icon picker somehow? Define sate of icon or something like that?

1 Like

Hey @Steve_Works! Welcome to the community. :slightly_smiling_face: To be clear, are you looking for a full-featured icon picker component or just a collection of icons that you as a developer can pick from?

If the latter, I recommend you take a look at react-icons. It's one of the most popular libraries for easily adding icons to a React project.

I don't have specific experience with the former, but this package looks promising!

Hey Darren! Thank you for sharing this. Im developing a component that basicaly shows number value and an icon. I managed to expose the value so i could pass the value to it using retool builder. I want to give other builders who will use my component to change the icon the way they want from retool existing icons.

1 Like

Got it - I don't think there's a way to pull up a palette specifically for Retool icons, but there are definitely a variety of generic options similar to the one I linked above. Will something like that work for your particular use case?

Hey @Steve_Works - have you had a chance to do more work on this project or have any additional thoughts?