M3_components.text icon property from a URL?

Is there a way to add a url here? I am trying to do something like this:

Screenshot_20241229_215057

The icon property on the text component seems perfect for this.

Thank you!

From what I’ve seen of the way the material icons work, that’s not possibe. It’s also not possible to use FontAwesome icons too, since Material Icons are actually just the name of the icon formated using a specific font.

To allow this you will probably need to create a custom component mimmicking both behaviours from the old Label and new Text components.

1 Like

Perfect. Thank you for the pointer.

1 Like