Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA sign-out-of-all-devices button that names how many sessions will end, then confirms with a success flag instead of a page reload.
Derived from this item’s props table, because it declares no controls of its own. This item has no standalone playground, so changes update the code, the share link and the AI prompt.
Use this when an account security page lets people end sessions on other devices after a lost phone, a shared computer or a suspected leak.
Do not use it when you need to end the current session too (that is a normal sign-out), or each session should be reviewed individually.
It composes button, flag, popconfirm, which the CLI installs for you.
import { PopconfirmSignOutEverywhere } from "@/components/popconfirm-sign-out-everywhere"<PopconfirmSignOutEverywhere
otherSessions={sessions.length - 1}
onSignOut={() => api.revokeOtherSessions()}
/>| Prop | Type | Required | Description |
|---|---|---|---|
otherSessions | number | required | Sessions that will end, not counting the current one. |
onSignOut | () => Promise<void> | required | Ends the other sessions. |
The pattern ships with a Testing Library test (popconfirm-sign-out-everywhere.test.tsx) that covers the device count in the question, the singular form, the success flag and the disabled state.