Skip to main content

Avatar Rail

Demo

zeta-web v0.6.6
Web Components

Avatar rail is a container for multiple avatars.

Storybook

https://design.zebra.com/web/storybook/?path=/docs/components-avatar-rail--docs

Slots

NameDescriptionType
defaultThe avatars to be displayed in the rail.zeta-avatar-rail[]

Attributes

NameDescriptionTypeDefault
show-closeShows the close icon on all avatars in the rail. This will be overridden by the individual avatar's show-close attribute.When clicked, an avatar-close event will be fired which can be listened to by adding a listener for the avatar-close event on the rail.booleanfalse
sizeThe size of the avatars in the rail. This will be overridden by the individual avatar's size attribute.'xxxs' | 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl' | 'xxxl' | undefinedundefined

Figma

https://www.figma.com/design/JesXQFLaPJLc1BdBM4sisI/%F0%9F%A6%93-ZDS---Components?node-id=21300-52147