Profile Widget
Display a user's profile card with identity and social information.

Quick Start
Configuration Options
apiKey
string
required
Your DotPassport API key
address
string
required
Polkadot address to display
type
'profile'
required
Widget type
theme
'light' | 'dark' | 'auto'
'light'
Color theme
showIdentities
boolean
true
Display chain identities
showSocials
boolean
true
Display social links
showBio
boolean
true
Display user bio
className
string
''
Custom CSS class
baseUrl
string
-
Custom API base URL
onLoad
() => void
-
Callback when loaded
onError
(error: Error) => void
-
Error callback
Examples
Full Profile
Minimal Profile
With Social Links
Dark Theme
React Integration
Vue Integration
Profile Data
The profile widget displays:
User Information
Display Name: On-chain identity name
Avatar: Profile picture (if set)
Bio: User description
Social Links
Twitter/X
GitHub
Discord
Telegram
Email
Website
Chain Identities
Polkadot identity
Kusama identity
Other parachain identities
Event Handling
Handling Missing Profiles
Related
Last updated
