AvatarStack

readyNot reviewed for a11y
This page may be removed. Primer plans to move all Rails component documentation to Lookbook.

Description

Use AvatarStack to stack multiple avatars together.

Arguments

NameRequiredDescription
tag
Symbol

One of :div or :span.

align
Symbol

One of :left or :right.

tooltipped
Boolean

Whether to add a tooltip to the stack or not.

body_arguments
Hash

Parameters to add to the Body. If tooltipped is set, has the same arguments as Primer::Tooltip. The default tag is :div but can be changed using tag: to one of :div or :span.

system_arguments

Slots

avatars

Required list of stacked avatars.

NameRequiredDescription
kwargs
Hash

The same arguments as Primer::Beta::Avatar.