Avatar API
Props, callbacks and methods. Select an underlined type to explore its fields, allowed values and callback arguments.
Avatar10 props0 callbacks0 methods
Props10
| Name | Type | Description |
|---|---|---|
ariaLabelOptional | string | undefined | Accessible name announced by assistive technology. |
classNameOptional | string | undefined | Additional CSS classes applied to the component root. |
indexOptional | number | undefined | Index used to identify or style the item. |
initialsOptional | string | undefined | Fallback initials displayed when no avatar image is available. |
keyOptional | string | number | undefined | Stable identity used when rendering this item. |
labelOptional | string | undefined | Label content or accessible name for the component, as rendered by this control. |
rectangularOptional | boolean | undefined | Uses a rectangular avatar instead of the circular presentation. |
sizeOptional | number | undefined | Visual size of this component; numeric icon/avatar sizes are in pixels, while controls use the declared named sizes. |
styleOptional |
| Inline styles or style configuration applied to this component; expand the type for supported entries. |
valueOptional | unknown | Value to display or edit. The declared type identifies the supported representation; change callbacks describe how edited values are emitted. |
Events and callbacks0
No component-specific events or callbacks.
Methods0
No component-specific imperative methods. Use props and callbacks to control this component.