Reputation Widget
Display a user's total reputation score with optional category breakdown.


Quick Start
Configuration Options
Option
Type
Default
Description
apiKey
string
required
Your DotPassport API key
address
string
required
Polkadot address to display
type
'reputation'
required
Widget type
theme
'light' | 'dark' | 'auto'
'light'
Color theme
showCategories
boolean
true
Show category breakdown
maxCategories
number
6
Max categories to display
compact
boolean
false
Compact display mode
className
string
''
Custom CSS class
onLoad
() => void
-
Callback when loaded
onError
(error: Error) => void
-
Error callback
Examples
Basic Usage
With Categories

Score Only (Compact)

Dark Theme
Auto Theme (System Preference)
React Integration
Vue Integration
Event Handling
Dynamic Updates
Related
Last updated
