Components Avatar

Avatar

Overview API Examples Style Tokens

Basic usage

Themes

The Avatar component comes with five built-in themes: neutral, accent, success, danger and alert.

Negative mode

The Avatar component supports a negative mode, suitable for areas with dark background.

Shapes

The Avatar component comes with two built-in shapes: squared and rounded.

Sizes

The Avatar component comes with seven built-in sizes.

Interaction

The Avatar component can be configured to be clickable.

Disabled state

When the Avatar is clickable, it can also have a Disabled state, to be used when the connected action is not available.

Active state

When your Avatar represents a switch or a toggle, you can take advantage of its Active state to let the user know the current selection value.