Components
<DeleteAccountCard />
The <DeleteAccountCard />
component provides users a streamlined UI to delete their account. It supports verification flows, such as password confirmation or email verification, before account deletion.

Usage
Include the <DeleteAccountCard />
component on your user settings page:
This component leverages the AuthUIProvider
context to handle account deletion (and optional verification) seamlessly.
Reference
These are the available props for <DeleteAccountCard />
:
Prop | Type | Default |
---|---|---|
className? | string | - |
classNames? | SettingsCardClassNames | - |
accounts? | { provider: string; }[] | - |
isPending? | boolean | - |
localization? | AuthLocalization | authLocalization |
skipHook? | boolean | - |
Styling
You can customize styling using the provided classNames
prop with TailwindCSS classes:
Localization
Adjust the text within the component for specific requirements or languages: