npm.io
25.3.5 • Published 1 week ago

@vaadin/avatar-group

Licence
Apache-2.0
Version
25.3.5
Deps
9
Size
70 kB
Vulns
0
Weekly
0
Stars
583

@vaadin/avatar-group

A web component for grouping multiple <vaadin-avatar> components together.

Documentation + Live Demo

npm version

<vaadin-avatar-group max-items-visible="3"></vaadin-avatar-group>
<script>
  document.querySelector('vaadin-avatar-group').items = [
    { name: 'Foo Bar', colorIndex: 1 },
    { colorIndex: 2 },
    { name: 'Foo Bar', colorIndex: 3 },
    { colorIndex: 4 },
  ];
</script>

Screenshot of vaadin-avatar-group

Installation

Install the component:

npm i @vaadin/avatar-group

Once installed, import the component in your application:

import '@vaadin/avatar-group';

Contributing

Read the contributing guide to learn about our development process, how to propose bugfixes and improvements, and how to test your changes to Vaadin components.

License

Apache License 2.0

Vaadin collects usage statistics at development time to improve this product. For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.

Keywords