Custom states on buttons

Hi,

I’m using Tabler icons and I want to create a button using components. I want to bind the buttons left and right side icon position, but this does not seem to be possible with the current buttons in weweb. I then moved forward with creating a custom component button, but realised that I cant seem to control the focus and disabled state (I cant add this?).

Anyone having the same issue, whats the best workaround without a bunch of variables/workflows for this? I want to contain everything within a component to keep easy design consistentcy throughout the app.

:slight_smile: Anyone?:slight_smile: Cant only be me

What do you mean by controing the focus and disabled state ? You can add a state a use a condition to trigger it, you can also create your own custom state

Capture d’écran 2024-04-03 à 15.40.43