Restore Version Dialog
A version history dialog with the current revision pinned above a radio list of prior versions showing authors, timestamps, and change summaries.
A version history dialog with the current revision pinned above a radio list of prior versions showing authors, timestamps, and change summaries.
The source for every Application block is included with Basic and Pro. Pick a plan to copy the code.
Already purchased? Log in
Restore Version Dialog is the static blueprint for rolling a document back to an earlier state. The header names the file, Q3 launch plan, and its 14 versions of history. A pinned row shows the current version with a Current badge, and below it a radio list offers three recent versions, each with an author avatar, a timestamp, and a one line change summary. A quiet link opens all 14 versions side by side, and a muted callout makes the promise plain: restoring never deletes anything, the current version stays in history, and the restore lands as a new version on top.
The versions are one typed array and the dialog is static markup with no Radix portal opened, so the scrim renders correctly inside the preview iframe. The radio group drives the selection with no client state, and the safety note is the copy that turns a scary action into a routine one.
Reach for this block in a document editor, wiki, or design tool where every save is a version and users need to walk back a bad edit. Wire the radio group to your version ids, then create a fresh version from the chosen snapshot rather than overwriting the head.
A natural flow around it on an Application Pro page:
Before
After
One strong use is document version restore with author context. Other history dialogs:
Tip: state that the restore adds a new version rather than overwriting, so users never fear losing today.