# Initials fallback avatar

https://fieldbook.lizardi.mx/components/initials-fallback-avatar

Category: Data display
![Still of the Initials fallback avatar component, a Fieldbook UI component in Data display.](https://fieldbook.lizardi.mx/thumbs/initials-fallback-avatar.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/initials-fallback-avatar-ae5b5419a4.mp4 (5 s, silent)

Initials fallback avatar: A single avatar that shows a photo when given one, otherwise centers two letters of initials on a soft tinted shape.

## Frameworks

react, vue, svelte, astro, html

## Preview controls

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

| Name | Type | Default | Options or constraints |
| --- | --- | --- | --- |
| 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 |

## Usage notes

Initials fallback avatar uses the inline preview frame with a light/dark theme setting.

### 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.

## Install through MCP

Connect your client, call get_component to retrieve the implementation, then get_install_command for installation instructions. Choose a listed framework, integrate the returned source and verify it in your application.

```json
{
  "tool": "get_component",
  "arguments": {
    "slug": "initials-fallback-avatar",
    "framework": "react"
  }
}
```

[For agents](https://fieldbook.lizardi.mx/docs/agents)
[MCP](https://fieldbook.lizardi.mx/api/mcp)

## Related open components

- [Initials avatar cluster](https://fieldbook.lizardi.mx/components/initials-avatar-cluster)
- [Social proof avatar row](https://fieldbook.lizardi.mx/components/social-proof-avatar-row)
- [Animated metric counter](https://fieldbook.lizardi.mx/components/animated-metric-counter)
- [Before/After Code Diff](https://fieldbook.lizardi.mx/components/before-after-code-diff)
- [Billing Ledger Table](https://fieldbook.lizardi.mx/components/billing-ledger-table)
- [Concentric goal rings](https://fieldbook.lizardi.mx/components/concentric-goal-rings)
