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).
pnpm dlx shadcn@latest add "https://ui.klarhimmel.com/r/app-settings-danger.json"