Dynamic prefix/suffix icons for buttons

It would be nice if the prefix/suffix icon for a button could be set dynamically. For example, to show a copy icon if the link text isn't "N/A".

{{ link.text != "N/A" ? "copy" : null }}

2 Likes

Hi @jeffbowen! We just rolled out support for dynamic icons! Click the "fx" toggle next to any icon field, and include an icon in your code by typing /icon.

Screen Shot 2021-12-02 at 2.56.06 PM

Awesome! Thanks for letting me know, @garrett!