Sign Out Sessions Dialog
A sign out sessions dialog with the current device pinned, a checkbox list of other active sessions, an unfamiliar flag, and a sign out action.
A sign out sessions dialog with the current device pinned, a checkbox list of other active sessions, an unfamiliar flag, and a sign out action.
The source for every Application block is included with Basic and Pro. Pick a plan to copy the code.
Already purchased? Log in
Sign Out Sessions Dialog is the static blueprint for the security screen that ends other active logins. The current device, Chrome on macOS, is pinned at the top in a bordered card with a This device badge so it can never be selected by mistake. Below it a checkbox list shows every other session with its device, location, and last seen, each preselected and ready to revoke. The Chrome on Linux row from an unknown location carries an Unfamiliar badge, and a line beneath the list points the user to change their password if they do not recognize it.
The sessions are one typed array and the whole dialog is static markup with no Radix portal opened, so the scrim renders correctly inside the preview iframe. A muted callout states what signing out actually revokes: the sessions end within a minute, including API tokens issued from those devices, and signing back in requires the password and a two factor code, while this device is never touched. The primary button counts the exact number being ended.
Reach for this block in the security section of a profile or account page, opened from a manage sessions action. Feed the list from your active session store, keep the current device unselectable, and send the confirm action to an endpoint that revokes the checked tokens and leaves the caller signed in.
A natural flow around it on an Application Pro page:
Before
After
One strong use is ending every session but the current one. Other session controls:
Tip: pin the current device with a badge and no checkbox, the guarantee that this session survives is what makes the bulk sign out feel safe to confirm.