Packages

@clerk/nextjs

7.10.2 · 17 Nov 2026MIT4.2M / weekRepositoryHomepagenpmAtom feed

Your version

7.7.0

6 Aug 2026Where it was published

7.10.7 is the newest release of 7.x.

In short

1 new3 internal

Release note

The section about @clerk/nextjs 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.