Category Widget
Display a detailed breakdown of a specific reputation category.


Quick Start
Configuration Options
apiKey
string
required
Your DotPassport API key
address
string
required
Polkadot address to display
type
'category'
required
Widget type
categoryKey
string
required
Category to display
theme
'light' | 'dark' | 'auto'
'light'
Color theme
showTitle
boolean
true
Show category title
showDescription
boolean
true
Show category description
showBreakdown
boolean
true
Show score breakdown
showAdvice
boolean
true
Show improvement tips
showScoreOnly
boolean
false
Minimal score-only view
className
string
''
Custom CSS class
onLoad
() => void
-
Callback when loaded
onError
(error: Error) => void
-
Error callback
Available Categories
longevity
Account Longevity
Account age and history
tx_count
Transaction Count
On-chain transaction volume
governance
Governance
Governance participation
identity
Identity
On-chain identity verification
unique_interactions
Unique Interactions
Network diversity
technical_contributions
Technical Contributions
Developer activity
Examples
Full Breakdown

Score Only

Without Advice
Dark Theme
Multiple Category Display
Display all categories in a grid:
React Integration
Vue Integration
Category Selector Example
Related
Last updated
