The following example includes a basic implementation of the <OrganizationList /> component. You can use this as a starting point for your own implementation.
Note
This component can be used in Expo Web projects, but it isn't available in native environments (iOS or Android). For native apps, build a custom UI using Clerk hooks. See custom flows guides for details.
An optional element to be rendered while the component is mounting.
Name
hidePersonal
Type
boolean
Description
A boolean that controls whether <OrganizationList /> will include the user's Personal Account in the Organization list. Setting this to true will hide the Personal Account option, and users will only be able to switch between Organizations. Defaults to false.
Name
hideSlug
Type
boolean
Description
A boolean that controls whether the optional slug field in the Organization creation screen is hidden. Defaults to false.
Name
skipInvitationScreen
Type
boolean | undefined
Description
A boolean that controls whether the screen for sending invitations after an Organization is created is hidden. When undefined, Clerk will automatically hide the screen if the number of max allowed members is equal to 1. Defaults to false.