:: BASE_DOC :: ## API ### Avatar Props name | type | default | description | required -- | -- | -- | -- | -- alt | String | - | show it when url is not valid | N badge-props | Object | - | Typescript:`BadgeProps`,[Badge API Documents](./badge?tab=api)。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/avatar/type.ts) | N custom-style `v0.25.0` | String | - | \- | N external-classes | Array | - | `['t-class', 't-class-image', 't-class-icon', 't-class-alt', 't-class-content']` | N hide-on-load-failed | Boolean | false | hide image when loading image failed | N icon | String / Slot | - | \- | N image | String | - | images url | N image-props | Object | - | \- | N shape | String | circle | shape。options:circle/round。Typescript:`ShapeEnum ` `type ShapeEnum = 'circle' \| 'round'`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/avatar/type.ts) | N size | String | - | size | N ### Avatar Events name | params | description -- | -- | -- error | \- | trigger on image load failed ### AvatarGroup Props name | type | default | description | required -- | -- | -- | -- | -- cascading | String | 'right-up' | multiple images cascading。options:left-up/right-up。Typescript:`CascadingValue` `type CascadingValue = 'left-up' \| 'right-up'`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/avatar/type.ts) | N collapse-avatar | String / Slot | - | \- | N custom-style `v0.25.0` | String | - | \- | N external-classes | Array | - | `['t-class', 't-class-image', 't-class-content']` | N max | Number | - | \- | N size | String | medium | size | N