Optional UnreviewedseedOptional UnreviewednamePerson or entity name. Supplies the initials fallback (up to 3 letters from
the first 3 words) and the accessible name, and seeds generation when seed
is absent.
Optional UnreviewedsrcImage URL. When set, the image is shown instead of a generated userpic, cropped to fill the container.
Optional UnreviewedsizeSize of the square container. A number is a pixel size.
Optional UnreviewedbadgeCorner badge, colored by tone. Pass a named tone or any literal CSS color;
the application decides what each tone means (success for online,
critical for busy, neutral for offline). Omit for no badge.
Optional UnreviewedroundFully-round (circular) frame. Pass a number (px) or a CSS length string
for a custom radius instead.
Optional UnreviewedgeneratorBrand generation constraints — each dimension is OFF / ANY / RANGE / LIST. Colors cap OKLCH ranges or pass an explicit palette. Omit for the default varied figure. Define one config for the app and reuse it across avatars.
Optional UnreviewedclassCSS class on the component's root element (merged with the component's own
classes). Use it directly for layout and positioning — grid/flex placement,
margins, alignment — rather than wrapping the component in a <div>/<span>.
Optional UnreviewedstyleInline styles on the component's root element. Set layout/positioning here
(or via className) directly on the component instead of adding a wrapper.
Optional UnreviewedidHTML id attribute.
Optional UnreviewedtitleHTML title attribute — native browser tooltip on hover.
Optional UnreviewedslotAssigns the element to a named <slot> of a parent web component (e.g.
slot="header" inside a <Card>, slot="footer" inside a <Dialog>).
Optional UnreviewedtabTab order. Set to -1 to skip the element when tabbing.
Optional UnreviewedkeyReact/Preact reconciliation key when rendered inside a list. Consumed by the JSX runtime (not forwarded as a DOM attribute).
Alphanumeric seed that deterministically drives the generated userpic. The same seed always renders the same avatar. Falls back to
namewhen omitted, so a stable user id or name is a good value.