OrganizationSwitcher
Self-contained active organization switcher.
Drop this into a top app bar or page header. When organizations are enabled for the instance, it renders the active organization or personal account and opens account management sheets for switching between personal and organization accounts.
Parameters
Optional theme customization for the switcher UI.
Optional callback invoked after a successful organization or personal-account switch.
Hides personal account selection when the instance does not force organization selection.
Controls whether the trigger renders in normal or compact form.
Called when the active organization overview's manage action is selected. When null, the switcher opens OrganizationProfileView.
Called when the create-organization row is selected from the switch account sheet. When null, the switcher opens the default organization creation flow.
Custom rows forwarded to the switcher's default OrganizationProfileView.
Custom destination builder forwarded to the switcher's default OrganizationProfileView.
Self-contained active organization switcher with a custom trigger.
Use triggerContent when an app wants Clerk to own the switcher sheets while rendering its own clickable trigger content.
Parameters
Optional theme customization for the switcher UI.
Optional callback invoked after a successful organization or personal-account switch.
Hides personal account selection when the instance does not force organization selection.
Stored for parity with the default switcher configuration. Custom trigger content is rendered as provided.
Custom clickable trigger content.
Called when the active organization overview's manage action is selected. When null, the switcher opens OrganizationProfileView.
Called when the create-organization row is selected from the switch account sheet. When null, the switcher opens the default organization creation flow.
Custom rows forwarded to the switcher's default OrganizationProfileView.
Custom destination builder forwarded to the switcher's default OrganizationProfileView.