diff --git a/.changeset/few-dingos-happen.md b/.changeset/few-dingos-happen.md
new file mode 100644
index 0000000000..6adacced8a
--- /dev/null
+++ b/.changeset/few-dingos-happen.md
@@ -0,0 +1,12 @@
+---
+'@clerk/localizations': minor
+'@clerk/clerk-js': minor
+'@clerk/types': minor
+---
+
+Add a confirmation input as an additional check when doing destructive actions such as:
+- delete an organization
+- delete a user account
+- leave an organization
+
+Νew localization keys were introduced to support the above
diff --git a/packages/clerk-js/src/ui/components/OrganizationProfile/ActionConfirmationPage.tsx b/packages/clerk-js/src/ui/components/OrganizationProfile/ActionConfirmationPage.tsx
index 77efd51f86..5f6f03d3cb 100644
--- a/packages/clerk-js/src/ui/components/OrganizationProfile/ActionConfirmationPage.tsx
+++ b/packages/clerk-js/src/ui/components/OrganizationProfile/ActionConfirmationPage.tsx
@@ -30,9 +30,14 @@ export const LeaveOrganizationPage = () => {
return (
- {actionDescription && (
- <>
-
-
-
-
-
- >
- )}
+
+
+
+
+
{
type: 'text',
label: localizationKeys('formFieldLabel__confirmDeletion'),
isRequired: true,
+ placeholder: 'Delete account',
});
const canSubmit = confirmationField.value === 'Delete account';
diff --git a/packages/localizations/src/en-US.ts b/packages/localizations/src/en-US.ts
index 5e487156e7..047f78aa13 100644
--- a/packages/localizations/src/en-US.ts
+++ b/packages/localizations/src/en-US.ts
@@ -548,6 +548,7 @@ export const enUS: LocalizationResource = {
'Are you sure you want to leave this organization? You will lose access to this organization and its applications.',
messageLine2: 'This action is permanent and irreversible.',
successMessage: 'You have left the organization.',
+ actionDescription: 'Type {{organizationName}} below to continue.',
},
deleteOrganization: {
title: 'Delete organization',
diff --git a/packages/types/src/localization.ts b/packages/types/src/localization.ts
index 19429f1c6f..18939952bc 100644
--- a/packages/types/src/localization.ts
+++ b/packages/types/src/localization.ts
@@ -567,6 +567,7 @@ type _LocalizationResource = {
title: LocalizationValue;
messageLine1: LocalizationValue;
messageLine2: LocalizationValue;
+ actionDescription: LocalizationValue;
successMessage: LocalizationValue;
};
deleteOrganization: {