Skip to content

Components · Reference

OrganizationSwitcher

Let signed-in users switch their active organization.

Preview

Loading preview…

Usage

tsx
import { OrganizationSwitcher } from "@krak-stack/auth/organization-switcher/react";

export const Example = () => <OrganizationSwitcher />;

Place OrganizationSwitcher inside KrakstackAuthProvider. Use it in the application header or sidebar so users can select their active organization.