This is the content of the custom page.
+ `; + }, + unmount: (el) => { + el.innerHTML = ""; + }, + }, + { + url: "/other-page", + label: "Other Page", + mountIcon: (el) => { + el.innerHTML = "🌐"; + }, + unmountIcon: (el) => { + el.innerHTML = ""; + }, + } + ] + }); + + ``` + + ```html {14} + + ``` +[Appearance](/docs/components/customization/overview) \| undefined
| Optional object to style your components. Will only affect [Clerk Components][components-ref] and not [Account Portal][ap-ref] pages. |
+| `customPages` | [CustomPage][custompage-ref][]
| An array of custom pages to add to the organization profile. |
+
[orgprofile-ref]: /docs/components/organization/organization-profile
[components-ref]: /docs/components/overview
-[ap-ref]: /docs/account-portal/overview
\ No newline at end of file
+[ap-ref]: /docs/account-portal/overview
+[custompage-ref]: /docs/references/javascript/types/custom-page
diff --git a/docs/references/javascript/clerk/user-profile.mdx b/docs/references/javascript/clerk/user-profile.mdx
index 91e0bd6f9f..21bccfd70c 100644
--- a/docs/references/javascript/clerk/user-profile.mdx
+++ b/docs/references/javascript/clerk/user-profile.mdx
@@ -236,6 +236,103 @@ Closes the user profile overlay.
function closeUserProfile(): void;
```
+## Custom Pages
+
+You can add customized pages for the [`This is the content of the custom page.
+ `; + }, + unmount: (el) => { + el.innerHTML = ""; + }, + }, + { + url: "/other-page", + label: "Other Page", + mountIcon: (el) => { + el.innerHTML = "🌐"; + }, + unmountIcon: (el) => { + el.innerHTML = ""; + }, + } + ] + }); + + ``` + + ```html {14} + + ``` +[CustomPage][custompage-ref]\[\]
| An array of custom pages to add to the user profile. |
[userprofile-ref]: /docs/components/user/user-profile
[components-ref]: /docs/components/overview
[ap-ref]: /docs/account-portal/overview
+[custompage-ref]: /docs/references/javascript/types/custom-page
+
diff --git a/docs/references/javascript/types/custom-page.mdx b/docs/references/javascript/types/custom-page.mdx
new file mode 100644
index 0000000000..1fa7dd99e5
--- /dev/null
+++ b/docs/references/javascript/types/custom-page.mdx
@@ -0,0 +1,22 @@
+---
+title: CustomPage
+description: An interface that provides the ability to add custom pages to the