Search

Search components and blocks

Sign in

Auth Blocks

Sign-in, sign-up, and account flows — login forms, OTP/passcode entry, and password reset built on shadcn primitives.

Logout Dialog

Pro

A sign-out confirmation on the Motion Dialog. A warning badge springs in with a slow pulse ring and an arrow that keeps nudging out, the account email sits under the copy so it is clear which session is ending, and the footer is a full-bleed split by dividers: Stay signed in on the left, Sign out on the right. Sign out spins, flips to a green Signed out confirmation, then the dialog closes by itself and calls onSignOut.

pnpm dlx shadcn@latest add @ditherui/logout-dialog

Props

emailstring"maya@acme.com"
onSignOut() => void— (called as the dialog closes)
triggerReactNodeoutline Sign out button

Suggested components