Context
From Slack discussion (#eui, 21 Aug 2026).
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
Context
From Slack discussion (
#eui, 21 Aug 2026).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
minWidthtofalse. 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
EuiButtonminWidthdefault tofalseminWidthas an opt-in for cases that need it (unified search is the known example)