Classes in buttons

Hi everyone!
Is it possible to use the buttons key to create different CSS designs for different buttons? Or to assign them a class? Or maybe in another way?

Thanks you so much.

No, this isn’t currently possible, other than type="primary" and type="secondary", which do add an attribute kind="primary" to the html, which you can select with

button[kind="primary"] {
    ...
1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.