Usage
disabled is yours: pass it while the value is empty. Pending outranks it, so a composer that clears the value as it sends still shows the spinner.pending is true while the send is in flight. The arrow becomes a spinner, the button keeps its paint and its focus, and clicks, Enter and Space are ignored.click. A pointer press never takes focus from the input, and a press released off the button sends nothing.restoreFocusTo returns focus to the input after Enter or Space on the button. Without it, a keyboard send leaves focus on the button.type="submit" and read the form's pending state: pending={useFormPending()}. A pending button never submits.tooltip so sighted users see the name.intent={ButtonIntent.Accent} and variant={ButtonVariant.Solid} for the emphasized primary look.ActionButton.Button.Button; SendButton has no stop state.