Button
Filled, outlined, tonal, elevated, and text buttonsnpx rootnative add button
Variants
Disabled Variants
Loading
ToggleA selected toggle takes the selected colors, and its shape inverts: round turns square, square turns round. The first row shares one controlled state, so all four flip together.
Buttons: With Icons
Sizes (XS–XL)
Square Shape
Icon SizeiconSize overrides the size-derived icon size (20 dp at size s).
Label StylelabelStyle affects the text only — icons keep the size and color derived from the variant.
Custom Colors