Submit Button
Sends a form and shows what happened.
Live preview · click to try it
Variants
3 named variants. Layer names match the names below.
WideSubmit Button / Wide
CompactSubmit Button / Compact
IconSubmit Button / Icon
States
Submit Button / Default
Submit Button / Hover
Submit Button / Pending
Submit Button / Success
Submit Button / Error
Submit Button / Disabled
Usage
Do
- The last step of a form.
Don't
- Actions that don’t send anything.
Properties
| Property | Type or options | Default |
|---|---|---|
| Variant | Wide · Compact · Icon | Wide |
| Label | String | Submit |
| State | Default · Pending · Success · Error · Disabled | Default |
Styles it uses
Surface/InverseInk/InverseAccent/AcidState/SuccessState/ErrorState/Focus
Text: Button L · Button M
Accessibility
- Keyboard reachable with a visible 3px State/Focus ring.
- Interactive parts use real buttons and links with accessible names.