Packages

@clerk/clerk-js

6.44.0 · 17 Nov 2026MIT1.5M / weekRepositoryHomepagenpmAtom feed

Your version

6.27.0

6 Aug 2026Where it was published

6.46.3 is the newest release of 6.x.

In short

1 new1 internal

Release note

The section about @clerk/clerk-js of a note shared by several packages.

Minor Changes

  • Add <InviteMembersButton />, a control component that opens the organization invite-members form in a modal when clicked, working like <SignInButton mode="modal">.

    Wrap your own button (or omit children for a default one). The button requires an active organization and should be rendered for members who can manage memberships (org:sys_memberships:manage). Opening it without an active organization or that permission is a no-op in production, and throws a descriptive error in development.

    import { InviteMembersButton } from '@clerk/nextjs';
    
    <InviteMembersButton>
      <button>Invite members</button>
    </InviteMembersButton>;

    This also adds Clerk.openInviteMembers() and Clerk.closeInviteMembers() for opening and closing the modal programmatically.

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.