Avatar tag

An avatar tag represents individuals, teams, or AI agents for tagging, quick recognition and navigation.

Props

avatar

Required
Description

The avatar component to render. AvatarTag will provide controlled props (size, appearance, borderColor). Accepts Avatar from @atlaskit/avatar package

TypeComponentType<AvatarPropTypes> | ComponentType<TeamAvatarProps>

hasMargin

Description

When false, removes the tag's default margin. Use in contexts like User-picker where the parent controls spacing. Defaults to true.

Typeboolean

href

Description

URI or path. If provided, the tag will be a link.

Typestring

isRemovable

Description

Flag to indicate if a tag is removable. Defaults to true.

Typeboolean

isVerified

Description

isVerified is not allowed for user tags.

Typeboolean

linkComponent

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.

TypeComponentClass<any, any> | FunctionComponent<any>

maxWidth

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%').

Typestring | number

onAfterRemoveAction

Description

Handler to be called after tag is removed.

Type(text: string) => void

onBeforeRemoveAction

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

onClick

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

removeButtonLabel

Description

Text rendered as the aria-label for remove button.

Typestring

testId

Description

A testId prop is provided for specified elements.

Typestring

text

Required
Description

Text to be displayed in the tag (usually a person's name or entity name).

Typestring

type

Required
Description

The type of avatar tag. 'user' uses circular avatars for individuals.

Type"other" | "user" | "agent"
Was this page helpful?
We use this feedback to improve our documentation.
  • Design system
    • Get started
    • Foundations
    • Components
    • Rovo UI
    • Tools
    • Release phases
    • Contact us
© 2026 AtlassianTrademark, (opens new window)Privacy, (opens new window)License