About
A destructive delete-account card with a confirmation dialog requiring typed confirmation text and data-loss acknowledgment checkboxes.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Auth Account Delete to your project and fits it to your theme.
Code
How Auth Account Delete is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import AuthAccountDelete from "@/components/ui/auth-account-delete";
export default function Default() {
return (
<div className="flex min-h-svh w-full items-center justify-center p-6">
<AuthAccountDelete
confirmText="DELETE"
dataSummary={{
projects: 12,
files: 348,
storage: "2.4 GB",
}}
onDelete={(data) => {
// eslint-disable-next-line no-console
console.log("Account deleted", data);
}}
/>
</div>
);
}








