DD Components
FallbackAvatar
Generative SVG avatar using hash-based color palette. Falls back from image to SVG pattern.
Preview
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| name* | string | — | Name to generate avatar from |
| src | string | — | Image URL (falls back to SVG if missing) |
| size | number | 32 | Avatar size in pixels |
| className | string | — | Additional CSS classes |