AvatarButton

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


Β 

https://www.figma.com/file/eGmDp94FlqEr4iSqy1Uc1K/Paragon-2021?node-id=1105%3A829

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

Behaviors

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

Accessibility

Focus Management Expectations




Semantics

Β 

Β 

Β 

Β