Irreversible actions kept apart from the rest of the settings. Each row explains the consequence; its button opens a confirmation where the person types a phrase before the destructive button is enabled. A host acts through onConfirm(index) (a promise: the button holds, then the done text, or the error text with the confirmation left open).
npx shadcn@latest add @klarhimmel/app-settings-dangerapp-settings-danger