M3 has a "Segmented Button" (<https://m3.material....
# compose
t
M3 has a "Segmented Button" (https://m3.material.io/components/segmented-buttons/overview), but I'm not seeing that anywhere in Compose. Does it go by another name in the Compose material3 package? Only "Segment" stuff I see has to do with animation.
f
not everything in the material spec will necessarily have a corresponding widget in the compose libraries. For a segmented button, that's not too complex to achieve with a
Layout
composable
I have a story in medium that describes how to implement this
z
It will likely be added in a future release of the m3 library
a
Implementation for Jetpack Compose is marked as planned in that exact page.
788 Views