AvatarPicker
v1.0.9Updated 27 Aug 2026Three-tab avatar picker: upload a file, generate from DiceBear HTTP API (10 styles), or paste an image URL. Falls back to hash-tinted initials.
Preview
Live · 8 storiesPopoverTriggerOpen ↗
▸Why this is recommendedformavatarpickerdicebear+2
AvatarPicker — popover trigger.
Recommended for+14
- ✓User profile avatar picker
- ✓Team-member avatar editor
- ✓Onboarding profile setup
Tags+6
formavatarpickerdicebearuploadpopovertrigger
Features+4
- Three tabs: upload / DiceBear / URL
- DiceBear styles (10 presets, HTTP API)
- Initials fallback with swatches
- Popover trigger or inline panel
- Image cropping placeholder
- i18n labels prop (AvatarPickerLabels — every built-in string overridable)
Not recommended for−2
- ✕Generic file upload (use Upload / FileUpload)
Install
Ask your agent, or call the MCP tool directly. The resolved bundle is written into your project.
Usage
Tick variants in the left menu — each adds a tab with that variant’s real story source, the same code the preview above renders.
Props
PropTypeRequired
valueCurrent avatar
—onValueChangeChange callback
—nameName for initials fallback
—stylesEnabled DiceBear styles
—labelsOverride built-in UI strings (tabs, section labels, placeholders, errors, aria-labels) for i18n
—