
Save Button Design — Autosave, Explicit Save and Unsaved Changes
When a screen should save on its own and when it needs a save button, the states a save control moves through and how to word them, where the button goes, and how to build an unsaved-changes warning that still works when the browser's own prompt does not fire.
Dillinger is a Markdown editor that runs in the browser with no account. On the screen below, the word "save" appears three times: a grey "Saved" label beside the document title, a "Save to" row in the sidebar menu, and a "Save Session" button with a disk icon at the bottom left.

The label reports that the text is already stored. The button offers to store something. Nothing in view says what Save Session adds to a document already marked Saved.
A screen where people edit something has to tell them whether their work is stored and whether they have to do anything to store it.
When to autosave
Autosave fits work that a person produces continuously and owns alone: documents, notes, canvases, message drafts, a long application form they will come back to. Each change is small, and the main risk is losing an hour of it to a closed tab.
Autosave is only safe with undo that survives the save. If every keystroke is committed, a mistake is committed too, and an accidental select-all-and-type becomes permanent unless undo or version history can reverse it. Autosave also needs a status that stays on screen and a failure message. Both are covered under save states below.
Run the save after a pause in typing of a second or two, when a field loses focus, when the page is about to be hidden, and on a timer during long uninterrupted typing. Saving on every keystroke makes the status flicker between "Saving…" and "Saved" faster than anyone can read it.
When to keep an explicit save button
Keep the button when pressing it means more than "store this".
| Situation | Why a button | Label it |
|---|---|---|
| The change reaches other people: publishing a post, sending an invite, changing permissions | Half-typed text should not go out | Publish, Send, Share |
| The fields only make sense together: new password and confirmation, a start and end date, a price and its currency | Saving between fields stores an invalid pair | Save changes |
| The person is trying values and may back out: notification rules, a filter set, a theme | Cancel has to restore the earlier state | Apply, with Cancel beside it |
| Money, legal commitments, or changing or deleting stored records | The action may not be reversible | Pay, Submit order, Delete |
WCAG covers the last row in success criterion 3.3.4, Error Prevention (Legal, Financial, Data), level AA. A submission of that kind has to be reversible, or checked for errors with a chance to correct them, or confirmed before it is final. Undo meets the first option. Where an action cannot be undone, as with a payment, a review step with a named button meets the third. A checkout is the usual case, and the address form inside it follows the same explicit-submit model.
Many products need both models. The draft of an email is stored as you type, and Send commits it. On a screen that already autosaves, name the button after the commit and do not call it Save.
Save on settings pages
Settings mix control types, and in interaction design each type carries an expectation. A switch reads as taking effect the moment it moves. A text field does not, because nobody wants their display name saved one letter at a time.
Partiful's invite editor, captured without logging in, has its Event Settings modal open on the Hosts tab.

The modal has an "Add cohost" button, an "Add Cohost Via Link" switch, a help icon and a close button. It has no save or apply button. The page's "Save draft" button is visible outside the modal, at the bottom right. Red dots mark two items in the modal's side menu, Audience and Photo Album, with no legend on this tab, and we did not open the help icon.
The switch, with no button under it, reads as instant. Save draft, on the page, says the invite is not stored yet. The modal does not say whether a flipped switch is kept if the draft is never saved. One line under the modal title would settle it either way, for example: "Changes here are kept with your draft."
A settings page can avoid the question in one of two ways. In the first, every control is instant: switches, radio groups and selects save on change, and a text field saves when focus leaves it, with a "Saved" note beside the field. Fields that only make sense together, such as a password change, are the exception and get their own small form with a button. In the second, every control waits for a button: checkboxes replace switches, and each section has its own save button or the page has a bar that appears when something changes.
If a page needs both, put the deferred fields in a bordered group with the button inside the border. Instant switches and deferred text fields in one undivided list, with a single button at the bottom, leave people unsure which of their changes that button covers.
Save states
A save button moves through five states. An autosave status line shows four of them, because autosave starts the save itself, so no state waits for a press.
| State | Explicit save button | Autosave status line |
|---|---|---|
| No changes | Button disabled, with "No changes to save" beside it | "Saved at 14:02" |
| Unsaved changes | Button enabled, with "Unsaved changes" beside it | Not shown |
| Saving | Button disabled, reading "Saving…" | "Saving…" |
| Saved | "Saved" beside the button, until the next edit | "Saved at 14:02" |
| Failed | "Couldn't save. Try again", until a save succeeds | The same message, until a save succeeds |
Disabling the button while a save is in flight stops a second click from sending the request twice. Keep the button the same width in every state so the layout does not jump when "Save changes" becomes "Saving…". When a save fails, the person's input stays in the fields.
Leave the saved status on screen. A toast that disappears after three seconds is missed by anyone who was looking at the keyboard. Write the state in words and let colour be the second signal, since a dot that turns from amber to green says nothing to someone who cannot tell the two apart.
The status also has to reach assistive technology. Under WCAG 4.1.3, Status Messages, a level AA criterion, a screen reader should be able to announce a message like "Saved" without focus moving to it. One way to do that is role="status" on the element that holds the saved message and role="alert" on the failure message.
Dillinger's "Saved" sits next to the title it describes, in small pale grey type. Darker type would make it easier to find.
The unsaved-changes warning
A warning is needed wherever work can be lost by leaving: an explicit-save form with edits, or an autosave screen whose last save failed.
Closing the tab, reloading or typing a new URL fires the browser's beforeunload event. Per MDN's documentation, the page can ask for a confirmation dialog, but the browser writes the text, the dialog only appears if the person has interacted with the page, and the event is not fired reliably, especially on mobile. So store a local draft as well, and offer to restore it on the next visit.
Clicking a link in a single-page app, closing a modal or pressing the app's own back button does not unload the page, and beforeunload never fires. The app has to check for unsaved edits and show its own dialog. Title it with the loss, "Discard unsaved changes?", and label the buttons "Keep editing" and "Discard changes". Add "Save and leave" if a save can succeed from that screen. "Are you sure?" with OK and Cancel fails because Cancel could mean cancel leaving or cancel my edits.
Show the dialog only when something differs from the stored version, so typing a word and deleting it triggers nothing.
A save can also fail because the session expired. Send the person through the login page and return them to the form with their edits in place.
Save button placement
On a form, the save button goes where the form ends, lined up with the left edge of the fields, with Cancel next to it as a plainer button.
A long settings page has a different problem: a button at the very bottom is out of view when the edit happens near the top. A bar that appears at the bottom of the window once something changes, holding "Unsaved changes", Discard and Save, keeps the state and the action together.
In a modal whose changes wait for a button, the button belongs in the modal's footer. A modal whose controls apply at once needs no button and one line saying so. In an editor that keeps an explicit save, put the button in the top bar by the document title, next to the status.
FAQ
Should the save button be disabled until something changes?
It can be, if text beside it says why: "No changes to save". Do not disable it because a field is invalid. Let the person press it and show the errors by the fields, since a grey button gives no hint about which field is wrong.
Is the floppy disk icon still acceptable on a save button?
Yes, with a text label next to it. Dillinger pairs its disk icon with the words "Save Session". On its own, the icon depends on the person having learned it from other software.
Should an autosaving app respond to Ctrl+S or Cmd+S?
Yes. In a browser the shortcut opens the Save Page dialog unless the app intercepts it. Intercept it, trigger a save, and show the status.
Does every save need a success message?
An explicit save does, placed next to the button. Autosave needs only the status line.
See Dillinger in the catalog
Step through Dillinger's flows screen by screen.
Related
Navigation Design
YouTube UX Teardown, October 2026: The Hype Chart, From List to Mini-Player
YouTube's Brazilian Hype Top 100 keeps its name on screen from the list to the watch page, where it is labelled Unlisted and drops the hyped labels, and on to the mini-player. The rows print views and age but no hype count. October 2026 edition, with a comparison against our June screens.
TYPENORMLabs · 4 min · November 27, 2026

UX Clarity
Wise UX Teardown: Remitly on Top of Wise's Own Price Table
For 1,000 USD to EUR, the first row of Wise's own provider comparison is Remitly, 0.34 EUR ahead of Wise, while Wise's row gets the green fill and the largest type. A teardown of the converter, rate chart, comparison table and send calculator on Wise's US site.
TYPENORMLabs · 6 min · November 3, 2026

Information Architecture
WhatsApp UX Teardown: Download on Every Page, Then a Business Site That Asks You to Choose
Every consumer page on whatsapp.com keeps a green Download button at the right end of the nav. The For Business link opens whatsappbusiness.com, where the hero offers Get Started and Download App at equal size, one scroll above the cards that explain the two business products.
TYPENORMLabs · 5 min · November 7, 2026

Comments
Loading comments…