Packages

@clerk/clerk-react

5.61.3 · 27 Feb 2026MIT2.5M / weekRepositoryHomepagenpmAtom feed

Deprecated by its maintainers: This package is no longer supported. Please use @clerk/react instead. See the upgrade guide for more info: https://clerk.com/docs/guides/development/upgrading/upgrade-guides/core-3What to use instead
Your version

5.12.0

17 Oct 2024Where it was published

5.61.12 is the newest release of 5.x.

npm marks 5.12.0 as deprecated: This package is no longer supported. Please use @clerk/react instead. See the upgrade guide for more info: clerk.com/docs/guides/development/upgrading/upg…

In short

1 new2 internal

Security

1 advisory affects 5.12.0; 5.61.6 fixes them

Release note

Minor Changes

  • Introducing experimental asProvider, asStandalone, and <X.Outlet /> for <UserButton /> and <OrganizationSwitcher /> components.

    • asProvider converts <UserButton /> and <OrganizationSwitcher /> to a provider that defers rendering until <Outlet /> is mounted.

    • <Outlet /> also accepts a asStandalone prop. It will skip the trigger of these components and display only the UI which was previously inside the popover. This allows developers to create their own triggers.

    Example usage:

    <UserButton __experimental_asProvider afterSignOutUrl="/">
      <UserButton.UserProfilePage label="Custom Page" url="/custom-page">
        <h1> This is my page available to all children </h1>
      </UserButton.UserProfilePage>
      <UserButton.__experimental_Outlet __experimental_asStandalone />
    </UserButton>
    <OrganizationSwitcher __experimental_asProvider afterSignOutUrl="/">
      <OrganizationSwitcher.OrganizationProfilePage
        label="Custom Page"
        url="/custom-page"
      >
        <h1> This is my page available to all children </h1>
      </OrganizationSwitcher.OrganizationProfilePage>
      <OrganizationSwitcher.__experimental_Outlet __experimental_asStandalone />
    </OrganizationSwitcher>

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.