---
title: reputationBadgeHtml
description: >-
  The badge as HTML, to follow an account's name after a space: `<span
  class="sv-reputation-badge" …>1,234</span>`. A screen reader reads the score
  whole, and so does its tooltip.
updated_at: '2026-11-19T21:17:45+01:00'
created_at: '2026-11-19T21:03:47+01:00'
symbol:
  kind: function
  name: reputationBadgeHtml
  signatures:
    - 'reputationBadgeHtml(score: number): string'
  parameters:
    - name: score
      type: number
  returns:
    type: string
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/auth/src/reputation-badge.ts#L39
---

# reputationBadgeHtml
