You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EUI buttons currently have a min-width by default. In tight layouts this wastes space for little usability gain (icon-only buttons already cover small click targets). Split buttons are a common example.
The original reason for min-width: unified search (run → search → refresh → cancel) — keeping width stable so the UI doesn’t jump when the label changes.
Decision
Change the default for minWidth to false. Callers opt in when they need a stable width (e.g. label/state changes that would otherwise cause layout jump). This number is up to the consumer.
What to do
Flip EuiButtonminWidth default to false
Keep minWidth as an opt-in for cases that need it (unified search is the known example)
Check tight-layout consumers that already suffer from the current default (Streams, Workflows, split buttons were called out)
On Kibana side, check if Discover and Dashbaords buttons opt in to use min-width not to break the layout
@Neilblaze There are currently more changes ongoing for buttons internally and we will handle the changes for this issue internally as well. Unfortunately that means that your PR will be closed.
If you'd like to contribute again, we encourage you to pick an issue with the "help wanted" label.
Activity
Neilblaze commentedon Aug 22, 2026
@ek-so Is this internal, or up for grabs? If it's up for grabs, I'd love to open a PR. Thanks! :)
ek-so commentedon Aug 24, 2026
Hey @Neilblaze, thank you, I think for the EUI part the contribution would be welcomed!
mgadewoll commentedon Aug 24, 2026
ℹ️ Fyi, we only take contributions once we internally decided to add the "help wanted" label (as mentioned in our contribution wiki)
Neilblaze commentedon Aug 24, 2026
@mgadewoll Oops, my bad! I wasn't aware of this... I just ended up opening the PR for #9941. What should I do now? 😓
mgadewoll commentedon Aug 24, 2026
@Neilblaze There are currently more changes ongoing for buttons internally and we will handle the changes for this issue internally as well. Unfortunately that means that your PR will be closed.
If you'd like to contribute again, we encourage you to pick an issue with the "help wanted" label.
Neilblaze commentedon Aug 24, 2026
Sure thing, thanks!
ek-so commentedon Aug 24, 2026
Thanks @mgadewoll! And sorry @Neilblaze, I wasn't aware of that either 😐
ryankeairns commentedon Sep 23, 2026
@mgadewoll can we close this one?