Founding price: $35, then $79.99 after 23:59 UTC on 4 November, then $79.99
Get ProThe bar that appears when a form has unsaved changes, with Discard and Save, a busy state and a Ctrl or Cmd plus S shortcut.
This item has no props to tune. Use the lens above to change theme, density, direction and more.
It builds on the button component, which the CLI installs for you.
| Prop | Type | Default | Description |
|---|---|---|---|
dirty | boolean | - | Show the bar. |
onSave / onDiscard | () => void | - | Actions. |
saving | boolean | false | Busy Save. |
saveDisabled | boolean | false | Disable Save, for example when invalid. |
message | string | "Unsaved changes" | Text. |
fixed | boolean | false | Pin to the viewport top. |
Role: status.
Animation is removed when the person prefers reduced motion.