To use the Badges API, install the @wix/members package using npm or Yarn:
@wix/members
1
or
Then import { badges } from @wix/members:
{ badges }