JSPM

  • Created
  • Published
  • Downloads 15576
  • Score
    100M100P100Q185209F
  • License Apache-2.0

vaadin-badge

Package Exports

  • @vaadin/badge
  • @vaadin/badge/vaadin-badge.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@vaadin/badge) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@vaadin/badge

A web component for displaying badges with various theme variants.

Documentation + Live Demo ↗

npm version

<vaadin-badge>Badge</vaadin-badge>
<vaadin-badge theme="success">Success</vaadin-badge>
<vaadin-badge theme="error">Error</vaadin-badge>
<vaadin-badge theme="warning">Warning</vaadin-badge>

Installation

Install the component:

npm i @vaadin/badge

Once installed, import the component in your application:

import '@vaadin/badge';

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.