Semantics
A native button with variant, size, finish, loading, and disabled states.
Forms and selection · stable · MIT
The approved fruit-gel action with chewy press physics.
Install editable source
Behavior contract
A native button with variant, size, finish, loading, and disabled states.
Enter and Space activate the native button.
Light and dark themes, logical RTL layout, reduced motion, responsive content, and forwarded public refs.
Source-derived reference
These public React parts are read directly from the canonical source during the documentation build.
GummyButtonGummyButtonPropsComposes React.ButtonHTMLAttributes<HTMLButtonElement> & { /** Fruit-colour treatment. The label remains on an optically stable layer. */ variant?: GummyButtonVariant; /** Preserves a 44px minimum touch target at every visual size. */ size?: GummyButtonSize; /** Controls optical transmission without changing semantic colour. */ finish?: GummyButtonFinish; /** Disables activation, exposes busy state, and shows a non-motion-dependent cue. */ loading?: boolean; /** Visible label while loading. */ loadingText?: React.ReactNode; }
Troubleshooting
Live product source
The Component Lab exercises real source across default, focus, disabled, responsive, dark, reduced-motion, and RTL contexts.
Open the live Component LabInteractive inspection
Resize the canvas, switch its theme, or reverse its reading direction without changing the rest of the page.
Button preview: fluid width, light theme, left to right.
Editable source