Data display
Initials fallback avatar
Initials fallback avatar: A single avatar that shows a photo when given one, otherwise centers two letters of initials on a soft tinted shape.
Using Initials fallback avatar
Initials fallback avatar uses the inline preview frame with a light/dark theme setting.
Customize the preview
These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.
| Control | Type | Default | Preview limits |
|---|---|---|---|
size | number | 40 | From 24 to 72; step 4 |
shape | select | circle | Options: circle, rounded |
accent | color | #9BE15D | No additional limit in the metadata. |
label | text | FB | Up to 3 characters |
Which frameworks are available for Initials fallback avatar?
Initials fallback avatar is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.
What does Initials fallback avatar depend on?
The React metadata lists these npm dependencies beyond React: clsx.
What accessibility details are visible in Initials fallback avatar?
The React source for Initials fallback avatar includes: attributes and handlers (aria-hidden, aria-label); explicit roles (img). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Initials fallback avatar handle reduced motion?
The source scan found no direct useReducedMotion() or matchMedia preference read in Initials fallback avatar's index.tsx. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.