Components 9

  • avatar clanbite
    A player, team or group avatar with its shape, XP ring and rank badge.
  • clipboard clanbite
    clanbite.clipboard.copy( text ): copies text, with a fallback for browsers without the clipboard API.
  • mentions clanbite-social-kit
    Turns @username into profile links (respecting each member's privacy setting) and loads the @ picker for editors.
  • popups clanbite
    clanbite.popups.announce() / allowOpen(): the hooks clanbite.popup.toggled and clanbite.popup.shouldOpen for every popup.
  • reaction-picker clanbite-social-kit
    The popover of reactions a member can choose from.
  • reaction-summary clanbite-social-kit
    The reaction chips of one object, each with a tooltip of who reacted.
  • reactions clanbite-social-kit
    Reactions for any registered object type: the toggle API, the REST route and the browser client.
  • time clanbite
    Relative wording such as "5 minutes ago", filterable in one place (clanbite_human_time_ago).
  • toasts clanbite
    The shared popup system: clanbite.toasts.show() in the browser.