<OrganizationSwitcher />
The <OrganizationSwitcher />
component allows a user to switch between their account types - their personal account and their joined organizations. This component is useful for applications that have a multi-tenant architecture, where users can be part of multiple organizations.
Out of the box, this component will show notifications to the user if they have organization invitations or suggestions. Admins will be able to see notifications for requests to join an organization.
Props
Click here to see the full list of props available.
Usage
vue
<script setup>
import { OrganizationSwitcher } from 'vue-clerk'
</script>
<template>
<OrganizationSwitcher />
</template>