# Avatar

> Circular accent-filled initials badge.

- Group: Core
- Status: stable
- HTML page: https://design.ipmnx.com/components/avatar/
- Spec: https://design.ipmnx.com/design/#nx-avatar

## Preview

**Initials**

```html
<span class="nx-avatar">JD</span>
```

```tsx
<NxAvatar>JD</NxAvatar>
```

## API

### Classes

| Class | Description |
| --- | --- |
| `.nx-avatar` | Circle, accent fill, on-accent text, .8rem/700 |

## Accessibility

- Decorative shorthand. Pair with a visible name nearby (row title, header) rather than relying on initials alone for identity.

## Do / Don't

- Do: Use 1-2 uppercase initials.
- Don't use it as the sole identifier for a person/team. Always show the full name somewhere on the surface.

## Related

- [Product header](https://design.ipmnx.com/components/product-header.md)
- [List row](https://design.ipmnx.com/components/list-row.md)

---

Source: registry.js (NX Design System)
