Packages

@clerk/types

4.101.20 · 27 Feb 2026MIT3.2M / weekRepositoryHomepagenpmAtom feed

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

3.57.0

24 Oct 2023Where it was published

3.65.5 is the newest release of 3.x.

npm marks 3.57.0 as deprecated: This package is no longer supported. Please import types from @clerk/shared/types instead. See the upgrade guide for more info: clerk.com/docs/guides/development/upgrading/upg…

In short

1 new2 fixed

Release note

Minor Changes

  • Introduce customization in UserProfile and OrganizationProfile

    The <UserProfile /> component now allows the addition of custom pages and external links to the navigation sidebar. Custom pages can be created using the <UserProfile.Page> component, and external links can be added using the <UserProfile.Link> component. The default routes, such as Account and Security, can be reordered.

    Example React API usage:

    <UserProfile>
      <UserProfile.Page
        label='Custom Page'
        url='custom'
        labelIcon={<CustomIcon />}
      >
        <MyCustomPageContent />
      </UserProfile.Page>
      <UserProfile.Link
        label='External'
        url='/home'
        labelIcon={<Icon />}
      />
      <UserProfile.Page label='account' />
      <UserProfile.Page label='security' />
    </UserProfile>

    Custom pages and links should be provided as children using the <UserButton.UserProfilePage> and <UserButton.UserProfileLink> components when using the UserButton component.

    The <OrganizationProfile /> component now supports the addition of custom pages and external links to the navigation sidebar. Custom pages can be created using the <OrganizationProfile.Page> component, and external links can be added using the <OrganizationProfile.Link> component. The default routes, such as Members and Settings, can be reordered.

    Example React API usage:

    <OrganizationProfile>
      <OrganizationProfile.Page
        label='Custom Page'
        url='custom'
        labelIcon={<CustomIcon />}
      >
        <MyCustomPageContent />
      </OrganizationProfile.Page>
      <OrganizationProfile.Link
        label='External'
        url='/home'
        labelIcon={<Icon />}
      />
      <OrganizationProfile.Page label='members' />
      <OrganizationProfile.Page label='settings' />
    </OrganizationProfile>

    Custom pages and links should be provided as children using the <OrganizationSwitcher.OrganizationProfilePage> and <OrganizationSwitcher.OrganizationProfileLink> components when using the OrganizationSwitcher component.

Patch Changes

  • Publish packages with npm provenance enabled

  • Drop experimental_force_oauth_first & experimental__forceOauthFirst from DisplayConfig

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.