Avatar
Render an Astryx avatar.
Astryx Props
JSON-safe Avatar props forwarded to Astryx.
Supported Astryx props include:
src(string): Primary image source URL.fallbackSrc(string): Fallback image when primary fails.name(string): User name for initials and alt text.alt(string): Alt text (falls back to name).size(AvatarSize): Avatar size (named or numeric pixel value).status(ReactNode): Corner content for status indicators.
Props typed as React nodes, render functions, event handlers, refs, or StyleX styles are documented for Astryx parity but cannot be serialized directly from Python unless the wrapper adapts them.
See Astryx component docs: https://astryx.atmeta.com/components/Avatar.
Functions
constructor__init__(name, *, src=None, fallback_src=None, alt=None, size=None, **props) -> NoneparamnamestrAstryx component option.
paramsrcstr | None= NonePrimary image URL.
paramfallback_srcstr | None= NoneFallback image URL.
paramaltstr | None= NoneAlternative image text.
paramsizestr | int | None= NoneNamed or pixel avatar size.
parampropsAny= {}Returns
None