Button with icon

Hi,
could you add a property in buttons named Icon where you can select (or type) an icon from Material Icons font or font awesome (or maybe also a custom font)?
Some examples from the web:



Thanks

Using a clickable arrangement and 2 labels (one for icon, one for the text) this cannot be done?

1 Like

Yes, but it hasn’t the button properties

1 Like

I use two buttons for this effect. :smile:

1 Like

How? Not looks ugly? Can you show?

Um… I haven’t tried with material icons, but I’ve tried something similar in ALPHA… The More screen uses two buttons for each option.

I know that its possiple to create what you want.
When I have time I will look into it.

3 Likes

in similar you can use clickable arrangement and label for text and a image which will be the icon. you can place the image left/right :wink::rofl::rofl:

@maicol07
You mean something like this right?


It will be available after next component release.

I’m sure it is easy to use:

5 Likes

Yes thanks, that was exactly what I was looking for!!

2 Likes

Can you make a block for one for the material icons? Instead of having to download extra assets?

2 Likes

Oh yes, I missed it!

2 Likes

Iam not sure if its possiple because the code needs a drawable (image).

1 Like

Maybe you can make an icon field in properties and a regular text field?

Yeah, or maybe an option to change the text font only for one part of the text? Like text editors?
Like this:

2 Likes

Create a new topic for the wish since this requested feature here is done.

2 Likes