AvatarButton

AvatarButton

This content is archived.

DESIGN COMPLETE IMPLEMENTED

A button that contains the user’s Avatar.

Contributors

@Ange Romanska (Deactivated) @Adam Butterworth (Deactivated)

Relate Jira Tickets

https://openedx.atlassian.net/browse/PAR-137 https://openedx.atlassian.net/browse/PAR-132 https://openedx.atlassian.net/browse/PAR-137


Β 

Resources

Use cases

The Avatar Button is used for the user account dropdown menu button in the global navigation.

Variants

Property

Β 

Property

Β 

Avatar Only (Boolean)

  • False (Default)

  • True

Size

  • Default

  • Small


Best Practices

Related Components

https://openedx.atlassian.net/wiki/spaces/BPL/pages/2103083206 https://openedx.atlassian.net/wiki/spaces/BPL/pages/2026865458

https://openedx.atlassian.net/wiki/spaces/BPL/pages/2097250669 (Dimensions of the avatar only variant match


Specification

What does an engineer need to know in order to build this component?

Anatomy

Legend

Uses a Default Avatar Component and a arrow_drop_down icon.

Β 

Avatar-only variant

Β 

Behaviors

Any behaviors of this component should be inherited from the Button component.

Accessibility

Focus Management Expectations




Semantics

Β 

Β 

Β 

Β 

Comments