Undo and redo

Patterns
View as Markdown
On this page2 sections

Best practices

Help people predict the results of undo and redo as much as possible.

Show the results of an undo or redo.

Let people undo multiple times.

Consider giving people the option to revert multiple changes at once.

Provide undo and redo buttons only when necessary.

Platform considerations

iOS, iPadOS

Avoid redefining standard gestures for undo and redo.

Briefly and precisely describe the operation to be undone or redone.

macOS

Place undo and redo commands in the Edit menu and support the standard keyboard shortcuts.


For the complete guidance, including worked examples and illustrations, see the canonical page: https://developer.apple.com/design/human-interface-guidelines/undo-and-redo

Apple HIG text and imagery are © Apple Inc. This page is a structured index of Apple’s canonical documentation (snapshot 2025-02-02), provided for quick reference and AI-agent consumption — it isn’t affiliated with or endorsed by Apple. Read the original at developer.apple.com (opens in new tab).

Get HIG guidance in your AI

Install HIG Doctor and get expert Apple design guidance directly in Claude Code.

npx skills add raintree-technology/hig-doctor
Email updates aren't configured on this deployment yet. Follow the GitHub repo (opens in new tab) for updates.