Button
The Button component provides a flexible interactive element supporting variants, sizes, icons, loading state, and full-width layout. The inner label
<Text> accepts the full Text-prop API via labelProps (ff, weight, tracking, uppercase, color, style).Buttons default to the
default variant — a neutral button (card surface, hairline border, body text) that sizes to its content. Reach for variant="filled" on the primary action of a view, and fullWidth (or w) when the button should span its container.Examples
(8)Properties
(51)Playground
Basics
Invokes a primary action and surfaces feedback through a toast helper.
Colors
Pair
color with a color-bearing variant (filled, light, subtle, outline, gradient) to align actions with brand intent. The default variant is neutral chrome and ignores color.Loading state
Demonstrates consistent width preservation, custom
loadingTitle, and disabling actions while background work completes.Variants
Preview the available button variants to match the desired emphasis level.
Sizes
Preview the available button size tokens for different density requirements.
Localized labels
Switch locales at runtime and render translated button copy with
useI18n helpers.Tooltips
Add contextual hints to buttons with
tooltip and optional placement overrides.Width
Demonstrates fixed, percentage, and full-width buttons alongside loading states that preserve dimensions.
Scan to open this page on your phonereact-ui-library.com/components/Button
Further reading
</>
react-ui-library
100+ accessible, themeable components that work seamlessly across iOS, Android, and Web.
A Platform Blocks product.
Quick Links
Resources