The <OrganizationProfile /> component allows users to manage their Organization membership, security, and billing settings.
This component's General tab displays the Organization's information and the Leave organization button. Admins will be able to see the Update profile button, Verified domains section, and Delete organization button.
The Members tab shows the Organization's members along with their join dates and Roles. Admins will have the ability to invite a member, change a member's Role, or remove them from the Organization. Admins will have tabs within the Members tab to view the Organization's invitations and requests.
The Billing tab displays the Plans and Features that are available to the Organization, as well as the user's billing information, such as their invoices and payment methods.
The following example includes a basic implementation of the <OrganizationProfile /> component. You can use this as a starting point for your own implementation.
The <OrganizationProfile /> component must be embedded using the React Router Splat route in order for the routing to work.
The full URL or path to navigate to after leaving an Organization.
Name
customPages
Type
CustomPages[]
Description
An array of custom pages to add to the Organization profile. Only available for the JavaScript SDKJavaScript Icon. To add custom pages with React-based SDK's, see the dedicated guide.
Name
fallback?
Type
ReactNode
Description
An optional element to be rendered while the component is mounting.
Name
path
Type
string
Description
The path where the component is mounted on when routing is set to path. It is ignored in hash- and virtual-based routing. For example: /organization-profile.
Name
routing
Type
'hash' | 'path'
Description
The routing strategy for your pages. Defaults to 'path' for frameworks that handle routing, such as Next.js and Remix. Defaults to hash for all other SDK's, such as React.
In addition, you also can add custom pages and links to the <OrganizationProfile /> navigation sidenav. For more information, refer to the Custom Pages documentation.