Avatar tag
An avatar tag represents individuals, teams, or AI agents for tagging, quick recognition and navigation.Props
| Description | The avatar component to render. AvatarTag will provide controlled props (size, appearance, borderColor).
Accepts Avatar from |
|---|---|
| Type | ComponentType<AvatarPropTypes> | ComponentType<TeamAvatarProps> |
| Description | When false, removes the tag's default margin. Use in contexts like User-picker
where the parent controls spacing. Defaults to |
|---|---|
| Type | boolean |
| Description | URI or path. If provided, the tag will be a link. |
|---|---|
| Type | string |
| Description | Flag to indicate if a tag is removable. Defaults to true. |
|---|---|
| Type | boolean |
| Description | isVerified is not allowed for user tags. |
|---|---|
| Type | boolean |
| Description | A link component to be used instead of our standard link. The styling of our link item will be applied to the link that is passed in. |
|---|---|
| Type | ComponentClass<any, any> | FunctionComponent<any> |
| Description | Maximum width of the tag. When exceeded, the text will be truncated with ellipsis. Accepts any valid CSS max-width value (e.g., '200px', '15rem', '100%'). |
|---|---|
| Type | string | number |
| Description | Handler to be called after tag is removed. |
|---|---|
| Type | (text: string) => void |
| Description | Handler to be called before the tag is removed. If it does not return a truthy value, the tag will not be removed. |
|---|---|
| Type | () => boolean |
| Description | Handler called when the tag is clicked. Only fires for link tags (when href is provided). The second argument provides an Atlaskit UI analytics event. |
|---|---|
| Type | (e: MouseEvent<HTMLAnchorElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent) => void |
| Description | Text rendered as the aria-label for remove button. |
|---|---|
| Type | string |
| Description | A |
|---|---|
| Type | string |
| Description | Text to be displayed in the tag (usually a person's name or entity name). |
|---|---|
| Type | string |
| Description | The type of avatar tag. 'user' uses circular avatars for individuals. |
|---|---|
| Type | "other" | "user" | "agent" |