Preet Suthar

Auth Account Delete

Component 2

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>
  );
}

Dependencies

More by Preet Suthar

View all
  • Modern & Stunning sign in

    Modern & Stunning sign in

    1.6K
  • Shining Text

    Shining Text

    1.5K
  • Magic Text

    Magic Text

    845
  • Toolbar

    Toolbar

    822
  • Hero 2

    Hero 2

    818
  • Typewriter Text

    Typewriter Text

    769
  • AI Chat Input

    AI Chat Input

    734
  • Full Screen Signup

    Full Screen Signup

    731

Explore more

Part of HextaUI — browse the full library on 21st.dev.