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
{{ message }}
Repository navigation
refactor(button): improve MD3 compliance and modernize content API #4928
Refactor Button to improve Material Design 3 compliance, remove problematic children patterns, improve performance characteristics, and modernize the public API.
Problems
Current API relies heavily on children composition in ways that are difficult to optimize
Internal layout logic is tightly coupled to arbitrary child structures
MD3 behaviors and visuals are not fully aligned with current Material guidelines
Rendering performance can degrade in large lists or frequently updated screens
Type safety and discoverability of the API can be improved
The component has inconsistent behavior between platforms and edge cases
Activity
adrcotfas commentedon May 13, 2026
It's a good opportunity to implement the expressive specs too like size, shape, color, toggle: https://m3.material.io/components/buttons/specs
adrcotfas commentedon May 15, 2026
Important
See #4949 for more details
RichardLindhout commentedon May 21, 2026
Children change is stupid IMHO. Why such a breaking change which is also uglier IMHO. You can check if it's a string maybe? And warn users?