Currently when using Material 3 there is no way to customize quite a few shapes, like the ones of button or navbaritem, on a theme level.
Until the issue is solved: Any ideas on a better workaround other than custom Button composables or explicitly passing a button shape on each usage?
m
Michael Paus
08/26/2026, 3:08 PM
Just factor that out into a separate MyButton function and then use only that in your code.
☝️ 1
t
Thomas Hormes
08/28/2026, 6:03 AM
Yeah, that's what I meant by saying
custom button composables
Was just hoping somebody may have some more elegant way 😅
c
Chrimaeon
08/28/2026, 8:18 AM
That is the elegant way in every declarative UI framework.