FormActions
The end-aligned button row: children, Cancel, then THE submit (the one primary).
Group: Inputs · Kind: macro · in the lite catalog
Preview
Section titled “Preview”example
destructive · true
Platforms
Section titled “Platforms”The same specimen painted by React, SwiftUI, Compose and gpui.




| Prop | Type | Required | Bindable | Description |
|---|---|---|---|---|
submit |
string |
yes | yes | The submit label. |
cancel |
boolean |
– | – | An outline Cancel firing cancel. Default false. |
destructive |
boolean |
– | – | A dangerous submit. Default false. |
Events
Section titled “Events”on.cancel: runs an action
None.
Children
Section titled “Children”many
A2UI basic mapping
Section titled “A2UI basic mapping”No basic catalog component maps here.
Built from
Section titled “Built from”Accessibility
Section titled “Accessibility”Role: group
group: Cancel, then the submit (the last in focus order)
| Keys | Action |
|---|---|
| – | Enter, Space on a button |
Theming
Section titled “Theming”Recipe parts: FormActions/root FormActions/cancel FormActions/submit
Keyed by: :hover :pressed :focus :disabled :checked :open :selected :invalid :dragover
Related
Section titled “Related”Button · Form · FieldGroup · Input · Textarea · NumberField · Checkbox · Radio