Identity

Avatar API

Avatar displays user, team, project, or CMS identity with image and fallback support.

Preview

AXUICMS

Import

import { Avatar } from "@axonyx/react";

Props

PropTypeDefaultDescription
srcstringundefinedOptional image URL.
altstring""Image alt text.
fallbackReactNodeundefinedFallback initials or mark.
size"sm" | "md" | "lg""md"Avatar size.

CSS contract

.ax-avatar
[data-size]