Socket
Book a DemoInstallSign in
Socket

@vaadin/avatar-group

Package Overview
Dependencies
Maintainers
19
Versions
500
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/avatar-group

vaadin-avatar-group

22.0.0-alpha9
Source
npmnpm
Version published
Weekly downloads
32K
-0.8%
Maintainers
19
Weekly downloads
 
Created
Source

<vaadin-avatar>

<vaadin-avatar-group> is a Web Component providing avatar in groups displaying functionality.

Live Demo ↗ | API documentation ↗

npm version Published on Vaadin Directory Discord

<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 vaadin-avatar-group:

npm i @vaadin/avatar-group --save

Once installed, import it in your application:

import '@vaadin/avatar-group/vaadin-avatar-group.js';

Getting started

Vaadin components use the Lumo theme by default.

To use the Material theme, import the correspondent file from the theme/material folder.

Entry points

  • The component with the Lumo theme:

    theme/lumo/vaadin-avatar-group.js

  • The component with the Material theme:

    theme/material/vaadin-avatar-group.js

  • Alias for theme/lumo/vaadin-avatar-group.js:

    vaadin-avatar-group.js

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 development time usage statistics to improve this product. For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.

Keywords

Vaadin

FAQs

Package last updated on 12 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.