Add support for disclosure buttons

Hello,

For Polaris React, we had the ability to set a button as a disclosure toggle (with an arrow on the right). This is useful for buttons that should act as a popover toggle:

Is it possible to add something like that? :slight_smile:

1 Like

We are still investigating if we want to scale this UI and support it long term. I would recommend using a select for now.

1 Like

Hello @alex-page ,

Unfortunately the select won’t work in this context. Having said that I’ve been able to workaround it by simply adding a s-icon inside the button. I’m not sure if this is supported but this does the trick

Another feedback on that @alex-page , I’ve noticed there is a color inconsistency on tertiary buttons. Icon only and text buttons have different colors. The icon only have a subdued color, which creates some visual inconsistency:

1 Like

I’ve passed this onto the team. Unsure if this is intentional or not but either I or someone on the team will get back to you.